DarkRadiant: master 07a10bbf

Author Committer Branch Timestamp Parent
orbweaver orbweaver master 08.03.2021 21:03 master 8cd54cd5
Affected Issues  0000108: Ambients don't light sides facing away
Changeset 0000108: ambient lights now render correctly

Ambient lights had in fact never worked since the switch to GLSL, since the
ambient light code was only ever present in the old Cg shaders. The GLSL shader
is now updated to support ambient lights through a new bool uniform, which
works for both models and brushes.
mod - include/iglprogram.h Diff File
mod - install/gl/interaction_fp.glsl Diff File
mod - radiantcore/rendersystem/backend/OpenGLShaderPass.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.cpp Diff File
mod - radiantcore/rendersystem/backend/glprogram/GLSLBumpProgram.h Diff File