]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Fix UI rendering to not use the bouncegrid texture; it looked interesting on the...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jan 2020 09:01:10 +0000 (09:01 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 15 Jan 2020 09:01:10 +0000 (09:01 +0000)
commitdc18f6c95faaa755790bbd4a57cdc01d0da35191
treed7e8b48f3b9db4bf1269ceab3944d02fc5fcfe95
parent07a8346524effa8fad1197113f53cfda06dea672
Fix UI rendering to not use the bouncegrid texture; it looked interesting on the console text but was definitely a bug - now tracks a ui parameter on several surface drawing functions, and triggers the notrippy path in the material rendering as one wouldn't want r_trippy affecting UI either.

Fix a bug that caused bouncegrid to render black if any light was culled by traces (return that was supposed to be a continue).

Changed default values for these cvars to make bouncegrid emphasize the bounced light more, but also reduce the intensity:
r_shadow_bouncegrid_dynamic_directionalshading : 0 -> 1
r_shadow_bouncegrid_dynamic_lightradiusscale : 2 -> 5
r_shadow_bouncegrid_dynamic_maxbounce : 2 -> 5
r_shadow_bouncegrid_static_lightradiusscale 2 -> 5
r_shadow_bouncegrid_intensity 4 -> 1

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12490 d7cf8633-e32d-0410-b094-e92efae38249
gl_rmain.c
r_shadow.c
r_sky.c
r_sprites.c
render.h