]> icculus.org git repositories - divverent/darkplaces.git/commit
upgraded rtlights format to have separate ambient, diffuse, and specular intensity...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 14 Nov 2004 23:31:36 +0000 (23:31 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 14 Nov 2004 23:31:36 +0000 (23:31 +0000)
commitc10cd5ef15e3211797e91900f6ada528faa93e92
tree6c3c8c434102271b87ed0ad278cf542f7638cd33
parent8085fb469a8551e2baf9d437ff809620f6f4f08d
upgraded rtlights format to have separate ambient, diffuse, and specular intensity scales, and also coronasize, this also allows corona-only lights by setting all scales to 0, and added normalmode/realtimemode flags so that lights can appear in normal mode, not just realtime mode (primarily useful for adding corona effects to a normal level)
added ambient light support to RenderLighting (non-bumpmapped diffuse)
some dlights now use ambientscale (this has not been exposed as a qc extension yet, qc lights remain the same)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4753 d7cf8633-e32d-0410-b094-e92efae38249
12 files changed:
cgamevm.c
cl_parse.c
client.h
gl_models.c
gl_rmain.c
gl_rsurf.c
model_alias.c
model_brush.c
model_shared.h
r_light.c
r_shadow.c
r_shadow.h