Revision Difference
Shaders/g_sunbeams#516679
<cat>shader</cat>
<shader>⤶
<description>Creates a "sun beam" effect.</description>⤶
<parameters>{{ShaderParameter|number|darken|The strength of the darkening</parameters>⤶
⤶
</shader>⤶
⤶
⤶
{{Shader⤶
|Description=Creates a "sun beam" effect.⤶
|Parameters=⤶
{{ShaderParameter|number|darken|The strength of the darkening}}⤶
{{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}}
}}