garrysmod-requests icon indicating copy to clipboard operation
garrysmod-requests copied to clipboard

$alphatestmask

Open frostedcorn opened this issue 10 months ago • 1 comments

Alphatest and materials using commands such like blendtintbybasealpha are incompatible due to both using the alpha channel of the albedo to control tinting. It would be nice if we could use both, either by some sort of alphatestmask command or blendtintbymask that would path to a different .vtf while letting colorability and transparency on models work together.

frostedcorn avatar Apr 06 '24 07:04 frostedcorn

This is the same thing I had requested earlier on, rather than changing the alphamask, we can use the Blue channel of the Exponent mask instead (since it isn't used). This way we can keep our alpha in our diffuse and make more use of the Exponent mask.

VpSnipes avatar Apr 23 '24 04:04 VpSnipes