1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 02:45:31 +00:00

Merge pull request #615 from madsbuvi/patch-1

Enable per-view mapping of water textures
This commit is contained in:
David Cernat 2022-04-28 23:18:50 +03:00 committed by GitHub
commit 78aa4e8163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ class Refraction : public SceneUtil::RTTNode
{
public:
Refraction(uint32_t rttSize)
: RTTNode(rttSize, rttSize, 1, false)
: RTTNode(rttSize, rttSize, 1, true)
{
mClipCullNode = new ClipCullNode;
}
@ -337,7 +337,7 @@ class Reflection : public SceneUtil::RTTNode
{
public:
Reflection(uint32_t rttSize, bool isInterior)
: RTTNode(rttSize, rttSize, 0, false)
: RTTNode(rttSize, rttSize, 0, true)
{
setInterior(isInterior);
mClipCullNode = new ClipCullNode;