Create a universal grid material

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

I’m currently prototyping a 3D game, and I would like to add a grid texture to my environment.

The problem is that in order for the grid texture to display properly I need to change the UV 1 coordinates of the material for every mesh that has different dimensions.

How can I make a material that will correctly display the grid on any mesh regardless of its dimensions?

:bust_in_silhouette: Reply From: Zoford

I found it!

All you have to do is to enable the World Triplanar flag and under UV 1 enable the Triplanar proprety.