summaryrefslogtreecommitdiff
path: root/src/libvorbis-1.3.4/lib/highlevel.h
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-06-10 21:21:32 -0500
committerTim Angus <tim@ngus.net>2014-06-17 17:43:43 +0100
commit18972ded298b2a47035e5dcf40e2391d717d9d76 (patch)
tree82ed6d52b9da059ddd1f270429998eb05306475e /src/libvorbis-1.3.4/lib/highlevel.h
parent6dc6f991d0a5ffea815ed5e0a07161dc58736cd7 (diff)
OpenGL2 don't try to dlight surfaces that had all dlights culled
In the renderers, dlightbits are never cleared from world surfaces. The dlight image does not repeat, so if it draws on extra surfaces it's not visible. However if using a repeating image (tr.defaultImage instead of tr.dlightImage); * In OpenGL1 image is only drawn on surfaces close to dlight origin. * In OpenGL2 image is draw on surfaces clearly outside the dlight radius, including past non-dlighted surfaces. It seems there was a similar issue with pshadowBits. So update surface dlightBits even if 0, like already done for pshadowBits. This causes only surfaces close to origin to be affected. (Though it is a little farther than in OpenGL1.) I have no idea why this isn't a problem in OpenGL1.
Diffstat (limited to 'src/libvorbis-1.3.4/lib/highlevel.h')
0 files changed, 0 insertions, 0 deletions