Object Scale node for static objects?

I’m using a pretty simple approach to making a tilable material–just create a tiling node based on the Object Scale of the object:

This works fine for dynamic objects, but I found that anything marked as Batching Static doesn’t do the tiling. My assumption is that this is because of the optimization where the mesh is combined with other meshes.

I can turn off Batching Static for these objects, and I guess that seems like the most sensible approach. But I wondered if there was something else I could do for this approach to work on Batching Static objects?

Correct. Once combined the “object” is the entire static mesh, which is unscaled.

World space triplanar mapping.

1 Like