ericwa / ericw-tools

Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
http://ericwa.github.io/ericw-tools
GNU General Public License v2.0
336 stars 57 forks source link

Fix bounce lights on textures with contrasting colors #91

Open ericwa opened 8 years ago

ericwa commented 8 years ago

e.g. red window, blue background. Make sure we are averaging the texture color within each face subdivision, not averaging the entire texture

ericwa commented 8 years ago

Have a test case for this: https://github.com/ericwa/tyrutils-ericw/blob/master/testmaps/bouncecolorscaletest.map

ericwa commented 8 years ago

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.