Garry's Mod Wiki

Revision Difference

Shaders/g_sunbeams#512893

<cat>shader</cat>⤶ <shader>⤶ <description>Creates a "sun beam" effect.</description>⤶ <parameters>{{ShaderParameter|number|darken|The strength of the darkening</parameters>⤶ ⤶ </shader>⤶ ⤶ ⤶ {{ShaderParameter|number|multiply|The strength of the multplier}}⤶ {{ShaderParameter|number|sunx|The screen x position of the sun (from 0 - 1)}}⤶ {{ShaderParameter|number|suny|The screen y position of the sun (from 0 - 1)}}⤶ {{ShaderParameter|number|sunsize|The "size" of the sun}}⤶ }}