]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Rename render_modellight_lightdir to render_modellight_lightdir_world and add a _loca...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Jun 2020 00:16:58 +0000 (00:16 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Jun 2020 00:16:58 +0000 (00:16 +0000)
commitf61fa5e99b4d2ef1bf8af59e243d6a083cd43e97
tree9f6cff716cb247316455123de55f8ad714e5fb67
parent5d041f981f3356cde47d00fc4b370e6564be86cc
Rename render_modellight_lightdir to render_modellight_lightdir_world and add a _local variant, which is transformed into entity space, so that rotating entities are lit correctly.

Thanks to kristus for persistently reporting this bug until it was understood.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12749 d7cf8633-e32d-0410-b094-e92efae38249
cl_main.c
client.h
gl_rmain.c
model_shared.h