engineGetSunShafts
Client
Returns the fraction of the resolution sun shafts are computed at.
float|false engineGetSunShafts()
Returns
0 (off) or from 0.125 to 1, or false if the renderer is not running.
Example
if engineGetSunShafts() > 0.5 then
engineSetSunShafts(0.5)
end