Hello!
I created a master material that has displacement and triplanar mapping, but the problem is that they cannot be activated at the same time. I get the error “[SM5] Local space is only supported for vertex, compute or pixel shader”.
If we change all coordinates from “Local space” to “World space” in the “transform vector” node in my triplanar function, the displacement can work, but in this case the coordinates are bound to the world. This means that if I want to rotate the object, the texture will stretch and this cannot be prevented in any way, so such a displacement will only be useful if the object is at right angles to the world axes.
Is there a way to avoid these problems and use displacement along with a triplanar?