From ba833551bde3e6cae29252c86e72a2b2d8d5b90d Mon Sep 17 00:00:00 2001 From: Mads Sandvei Date: Thu, 28 Apr 2022 22:18:00 +0200 Subject: [PATCH] Enable per-view mapping of water textures --- apps/openmw/mwrender/water.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwrender/water.cpp b/apps/openmw/mwrender/water.cpp index 1fd64bb27..05d415713 100644 --- a/apps/openmw/mwrender/water.cpp +++ b/apps/openmw/mwrender/water.cpp @@ -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;