]> 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)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 23 Aug 2011 22:13:07 +0000 (22:13 +0000)
commit19feb02d8624895aa2cd84b5f6112d69a757b4bd
treed1d9e519db789dbe8daba51836bd0d568d95bdcb
parentf12c4bedb532281dad05e0d75addbf6762d36228
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
gl_rmain.c
render.h
shader_glsl.h
shader_hlsl.h