Garry's Mod Wiki

DrawSunbeams

void DrawSunbeams( number darken, number multiplier, number sunSize, number sunX, number sunY )

Description

Renders the post-processing effect of beams of light originating from the map's sun. Utilises the "pp/sunbeams" material

Arguments

1 number darken
$darken property for sunbeams material
2 number multiplier
$multiply property for sunbeams material
3 number sunSize
$sunsize property for sunbeams material
4 number sunX
$sunx property for sunbeams material
5 number sunY
$suny property for sunbeams material

Page Links


Special Pages


Wikis

?

Render Time: 31ms

Session 0
DB GetPage 4
Generate Html 4
SaveChanges 8
Render Body 0
Render Sidebar 12