World-Space Triplanar texture mapping with GridMaps?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By unfa

I wanted to make a texture that’d tile over multiple grid GridMap blocks.

I’ve tried Spatial Material and a Visual Shader using TextureUniformTiplanar with a NoiseTexture - however they all gave me texture repeating across a single GridMap block.

I don’t know how to scale that up so it can cover say 8 GridMap cells span?

Try to use world coordinates instead of local?

Zylann | 2020-02-11 13:53

I’ve used the WorldTriplanar checkbox in a Spatial Shader, but it didn’t have an effect.
How do I use World coordinates then?

unfa | 2020-02-11 14:34

In Flags, there is a World Triplanar property you can check.

Zylann | 2020-02-11 19:17

:bust_in_silhouette: Reply From: unfa

Turns put I had to select “World Vertex Coords” in My Shader Flags.

Then adjusting the Triplanar Scale vector gave me what I wanted.