]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
For lightgrid sampling move lightstyle[0] applying to shader domain as it seems to...
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 30 Oct 2010 18:24:09 +0000 (18:24 +0000)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 30 Oct 2010 18:24:09 +0000 (18:24 +0000)
commit18b296a035004c05afe62f48e164321ca863f4c7
tree6f38232dfed8570ca669f977b95e6e09c05f96d4
parent2138c1a71154ae6661f42f9491f0a9e3d363d5c0
For lightgrid sampling move lightstyle[0] applying to shader domain as it seems to be far more precise here (see http://omnicide.legacy-of-kain.ru/work/cbo_glslgridlightchangecomp.gif), while leaving the default way for < GL2 paths, dunno why it happens and i cant find any reasons for that, current approach 'just works'. Also added "_enable" cvars for all r_glsl_postprocess_uservec* which will toggle their usage (also creates USERVEC* define once enabled).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10572 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c
model_brush.c