I want to use world triplanar texture mapping but only for the initial position when an object is created.
After that I want the texture to be fixed to the object even if I move the object.
Any ideas on how to achieve this?
UV Triplanar World
- Edited
xyz
Ok ok.
Imagine two equal objects.
What I want:
spawn each object at different locations with triplanar world space mapping > both objects probably look different because the location is affecting the mapping. And now if I move one object the texture should be fixed blablabla we know that part.
What I would get with object space mapping:
Two objects that look exactly the same regardless of their initial spawn position.
- Edited
Use object space triplanar mapping in the material then, convert material to shader, and in triplanar calculation in the shader add an offset passed via an uniform or instance custom data.