This grid shader is designed to be highly customizable, allowing you to create a wide range of grid styles for your Unity project. With features like full color control, texture support, tiling, scaling, and line thickness adjustment, you can create almost any type of grid you need. The shader also includes quality-of-life features like non-uniform object support and texture scaling. A few simple prototyping textures are provided to get you started. This shader requires Shader Graph and either HDRP or URP.
Main Features:
β’ Customizable background color
β’ Toggle between color and texture background
β’ Customizable background texture
β’ Background texture tiling and offset
β’ Texture ratio preservation on non-uniform objects
β’ Scale texture with object size (toggle)
β’ Two separate layers of grid lines
β’ Customizable line thickness (per layer)
β’ Customizable line color (per layer)
β’ Line tiling and offset (per layer)
β’ Line tiling ratio preservation on non-uniform objects
β’ Scale lines with object size (toggle)





