This article's documentation is for anything that uses the Source engine. Click here for more information.

SpriteCard: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Appearance: $alpha and $translucent are equally expensive)
Line 40: Line 40:
=== Appearance ===
=== Appearance ===


{{MatParam|$alpha|float|Cheap transparency.}}
{{MatParam|$translucent|bool|Translucency based upon the texture's alpha channel.}}
{{MatParam|$translucent|bool|Enables expensive transparency.}}
{{MatParam|$alpha|float|Scale translucency of entire texture. Implies $translucent.}}
{{MatParam|$nocull|bool|Disable backface culling. Useful for thin particles.}}
{{MatParam|$nocull|bool|Disable backface culling. Useful for thin particles.}}
{{MatParam|$overbrightfactor|normal|Allows an HDR-like factor to be applied to the sprite. The base value is 0, where 1.0 would make it nearly two times as bright. This value can help make sprites like fire and light glows feel more realistic.}}
{{MatParam|$overbrightfactor|normal|Allows an HDR-like factor to be applied to the sprite. The base value is 0, where 1.0 would make it nearly two times as bright. This value can help make sprites like fire and light glows feel more realistic.}}

Revision as of 06:25, 16 May 2025