0 votes

I'm using vec3 sum = mix(WaterLayer1, WaterLayer2, WaterLayer3);to displace 3 layers of water texture on top of each other to give the water a nice look.
I want to display this as triplanar so that the material scaling isn't affected by the size of the mesh. However, I can't. It seems that with triplanar texture I can only display sampler2Ds.
How can I make the material size be unaffected by the mesh size?

Godot version 3.3.4
in Engine by (24 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.