$alphatest
Jump to navigation
Jump to search
The $alphatest VMT command is used ...
Sometimes $translucent leads to rendering errors in the game: eg where modelA is behind modelB, but modelB gets hidden by modelA. If this happens, using the command "$alphatest" 1
instead of "$translucent" 1
should fix it.
- VMT syntax example:
// "$translucent" 1 "$alphatest" 1
- This type of shading costs much less than $translucent shading.