Garry's Mod Wiki

Garry's Mod Wiki

Description

Replaces every pixel with a part of the texture set by $basetexture.

The texture used must be power of 2 and must also be 8 times higher than it is wide (an aspect ratio of 1:8) in order to function.

The shader replaces every pixel with a part of the texture depending on its brightness. Dark areas will use the upper parts of the texture and brighter parts the lower parts of the texture.

Parameters

number scalex
The size of the texturing on the x axis
number scaley
The size of the texturing on the y axis

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...