Garry's Mod Wiki

Revision Difference

Shaders/g_texturize#517234

<cat>shader</cat> <shader>⤶ <title>g_texturize</title>⤶ ⤶ <shader>⤶ <description> Replaces every pixel with a part of the texture set by $basetexture. The texture used must be power of 2 and be 8 times as high as wide in order to function. The shader replaces every pixel with a part of the texture depending on it's brightness. Replaces every pixel with a part of the texture set by `$basetexture`. ⤶ The texture used must be power of 2 and be 8 times as high as wide in order to function. ⤶ The shader replaces every pixel with a part of the texture depending on it's brightness. Dark areas will use the upper parts of the texture and brighter parts the lower parts of the texture. </description> <parameters> <item name="scalex" type="number">The size of the texturing on the x axis</item> <item name="scaley" type="number">The size of the texturing on the y axis</item> </parameters> </shader>