1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-05 22:19:42 +00:00

Enable per-view mapping of water textures

This commit is contained in:
Mads Sandvei 2022-04-28 22:18:00 +02:00 committed by GitHub
parent 3b40882ba3
commit ba833551bd
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;