Garry's Mod

Garry's Mod

198 ratings
White Map Shader (alpha masking)
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Movie, Scenic
File Size
Posted
Updated
15.094 KB
23 May @ 8:25am
29 Aug @ 12:37pm
6 Change Notes ( view )

Subscribe to download
White Map Shader (alpha masking)

In 1 collection by Freef
Freef's Misc Mods
48 items
Description
For cutting objects into transparent images

Tool based on depth shader to make perfect transparent cutouts of objects via masking. See video for usage.
If this doesn't work correctly, disable any HUD/screen altering addons.

Update: A lot of people thought this looks like "Bad Apple", so I also added a color invert option
Update 2: You don't even need a greenscreen map anymore when taking a normal screenshot, a new setting will render the background black (or white if inverted) but render the objects normally
43 Comments
katsdev 10 Oct @ 3:52am 
is that the real bad apple? no way.
Jazz Sica 2 Oct @ 7:45pm 
BAD APPLE SHADER LET'S GOOOOOOOO
dogdillon 6 Sep @ 1:48pm 
omg it's bad apple
Freef  [author] 29 Aug @ 12:37pm 
@UMP45 The problem is now fixed. I deeply apologize to everyone whose had issues until now.
sleepydriedtomatoes 29 Aug @ 12:47am 
bad apple shader real
UMP45 28 Aug @ 9:09pm 
for some reason if you enable your flashlight it breaks the entire mod and causes it to stay active after it was disabled, all the npcs and things turned dark unless i used the flashlight on them like they were in perpetual shadow
Bentley Stream (YT) 22 Aug @ 2:23pm 
Wait you noticed my comment? Thank you for fixing the bug!
Freef  [author] 22 Aug @ 1:13pm 
Thank you! I knew there was something wrong somewhere but couldn't tell where. Updated the mod now.
PenolAkushari 22 Aug @ 1:06pm 
i've found that this breaks some other shaders after being used, and apparently the background wasn't drawing on my end correctly on map like construct so it'd just paint props white through walls. i've tracked it to the render.OverrideDepthEnable being enabled, and i've fixed that by putting render.OverrideDepthEnable(false) right before the cam.End3D, which seemed to make it work on my end and not break anything else afterwards
Videogames 20 Aug @ 12:05pm 
Just an FYI, "glow sprites" seem to break the masking and you can just see the normal world through them. So make sure to use caution on maps with them & with certain effect tools.