Merge pull request #615 from madsbuvi/patch-1

Enable per-view mapping of water textures
pull/616/head
David Cernat 3 years ago committed by GitHub
commit 78aa4e8163
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save