]> git.xonotic.org Git - xonotic/darkplaces.git/commit
gl_rmain: Disable water (and warpzones) when r_lockvisibility or r_lockpvs are 1
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Jul 2020 13:59:34 +0000 (13:59 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Jul 2020 13:59:34 +0000 (13:59 +0000)
commit2938f363423bff2eceb2d4be221a7c12487586dc
treebcd3d44652d1d4f2387471a278148f24e476b063
parent3ca44c425387f828b5389b1400faee21ecddfa94
gl_rmain: Disable water (and warpzones) when r_lockvisibility or r_lockpvs are 1

Fixes an issue where it would render the reflection of water, or the
opposite side of the warpzone, instead of where the actual frustum is.

There's probably a better solution but this should be fine for now.

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