]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Generate a pvs for refraction renders just like for reflection renders, this fixes...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 1 May 2018 02:48:46 +0000 (02:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 1 May 2018 02:48:46 +0000 (02:48 +0000)
commit086c6c4f1ccdafa4e305eb0903f5570361594c20
tree6457ad23397d5fd60c95c0cb0f3f9540a6ee01b8
parent2107b65205dbec9522df439f7639c6fe08e54a46
Generate a pvs for refraction renders just like for reflection renders, this fixes a water rendering issue in the Doombringer map duel2.bsp where certain leafs did not include the necessary pvs data (or something was wrong with how the renderer used the existing vis data).

In light of the above, allow r_wateralpha when r_water is used, even if the bsp is not watervised - this works for all non-recursive cases (so the elder hall water pool in start.bsp is still broken).

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