Render Target offset on landscape - but only in build

Hello! I’m currently having some issues with Render targets being offset in build on landscape. Im using a render target to get that blue effect on the landscape material. I’m currently scaling the render target to fit the resolution of the landscape, but I’m also having to offset it via a vector to make sure it’s in the correct place. Problem is that the whole render target is moved in build.
Do anyone of you know why? And maybe have another solution to displaying the render target on the landscape without having to hardcode offsets in materials?

This is in editor, working correctly.

This is in build where the render target is offset to the right.

Here is the mask logic in the landscape material.


Found the Solution. There were two Render targets in the scene, and one worked in editor, while the other one overwrote the other one in build, giving different results.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.