$alphatest: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{stub}} | |||
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 <code>"$alphatest" 1</code> instead of <code>"$translucent" 1</code> should fix it. | |||
* VMT syntax example: | |||
// "[[$translucent]]" 1 | |||
"[[$alphatest]]" 1 | |||
* This type of shading costs much less than [[$translucent]] shading. | |||
[[Category:List of Shader Parameters]] |
Revision as of 16:41, 4 April 2008
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.