Clamp vertex lighting before interpolation
Fixes a regression in which pass lighting was clamped after being passed to fragment shader. For correct FFP emulation, we need to clamp the result in vertex shader. When clamping after interpolation, negative lights in particular have a much more drastic effect.pull/593/head
parent
138d3b65a3
commit
c48eee4eee
Loading…
Reference in New Issue