Skip to content

Clean up shader lighting

Alexei Kotov requested to merge Capostrophic/openmw:lighting into master

Strip vertex color handling from doLighting(). This allows users of lighting.glsl to have better control over different lighting types. This doesn't matter much for Morrowind but glow maps from newer games specifically affect emissive lighting. Lighting clamping is no longer done twice.

Edited by Alexei Kotov

Merge request reports