render.SetLightingMode
Description
Sets lighting mode when rendering something.
Do not forget to restore the default value to avoid unexpected behavior, like the world and the HUD/UI being affected
Arguments
1 number Mode
Lighting render mode
Possible values are:
- 0 - Default
- 1 - Total fullbright, similar to
mat_fullbright 1
but excluding some weapon view models - 2 - Increased brightness(?), models look fullbright
Example
Draws a fullbright quad on 2D skybox
Example
Display everything the same way as when you set mat_fullbright
to 1.