]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Experimental r_glsl_offsetmapping_lod cvar which applies a distance-based correction...
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Aug 2011 22:13:07 +0000 (22:13 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 30 Aug 2011 04:48:27 +0000 (06:48 +0200)
commit02606e8045ed3c3df8d5e9337329d4915560766f
tree538d1d06890825ab7abc361bde5af9491ae484e8
parentcd91d02ff7e38187edee03b61f8456d2d35efb54
Experimental r_glsl_offsetmapping_lod cvar which applies a distance-based correction to number of offsetmapping steps, makes up to 40% fps boost on open area maps with lots of reliefmapped surfaces and no quality loss, gives about 5-10% on generic case (requires accurate tweaking for best results).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11292 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=19feb02d8624895aa2cd84b5f6112d69a757b4bd
gl_rmain.c
render.h
shader_glsl.h
shader_hlsl.h