Skip to content

Clamp light level for shaders. Fixes #194.

Hannu Hanhi requested to merge Hannu_Hanhi/SRB2:ogl-shader-light-clamp into next

The light level value needs to be clamped to the 0-255 range in HWR_Lighting before passing it on to the rendering backend.

Merge request reports

Loading