ericw-tools
ericw-tools copied to clipboard
Fix bounce lights on textures with contrasting colors
e.g. red window, blue background. Make sure we are averaging the texture color within each face subdivision, not averaging the entire texture
Have a test case for this: https://github.com/ericwa/tyrutils-ericw/blob/master/testmaps/bouncecolorscaletest.map
Only one bounce light is being created per face, the subdivided patches aren't really used. see MakeBounceLightsThread. this should probably be changed / experimented with again.