]> git.xonotic.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)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 30 Oct 2010 19:43:17 +0000 (21:43 +0200)
commit25d9f0798b9040351b1b5e25ad991c8925f9ebc1
tree143798a6c8a14736b9937ddf58ead3225e08ca25
parenta2ab764a5ee51518cabc116240eacd3094c2ea10
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
::stable-branch::merge=18b296a035004c05afe62f48e164321ca863f4c7
gl_rmain.c
model_brush.c