]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
added r_rtworld, r_rtworldshadows, r_rtdlight, r_rtdlightshadows, and r_lightmapinten...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 Sep 2004 12:46:40 +0000 (12:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 26 Sep 2004 12:46:40 +0000 (12:46 +0000)
commitea4fc545e8444f579d88d8f096b054dcd7bc482f
treeee7e270807d26b066c3ae2a074fa48e24cd4872b
parent45483d9d4f318baa8b1edc04d26231c655fddfd7
added r_rtworld, r_rtworldshadows, r_rtdlight, r_rtdlightshadows, and r_lightmapintensity cvars to greatly clean up the handling of the various rtlight/normal rendering modes
ifixed lighting problems on transparent alias models in r_shadow_realtime_world mode with r_shadow_realtime_world_lightmaps < 1 (note: still does not use the rtlights entities, just bsp model light queries like lightmap mode uses)
cleaned up handling regarding RENDER_LIGHT, RENDER_SHADOW, EF_ADDITIVE, alpha, r_fullbright, RENDER_EXTERIORMODEL, and model->flags (now the EF_ADDITIVE and EF_FULLBRIGHT flags were moved to model->flags2)
tag children now inherit RENDER_EXTERIORMODEL from their parent so you can simply attach an external weapon model to the player model and it will appear/disappear according to chase_active appropriately

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4540 d7cf8633-e32d-0410-b094-e92efae38249
14 files changed:
cl_input.c
cl_main.c
gl_models.c
gl_rmain.c
gl_rsurf.c
model_shared.h
model_sprite.c
protocol.c
protocol.h
r_light.c
r_shadow.c
r_sprites.c
render.h
sv_user.c