Grid Shader is a versatile and performance-friendly shader package designed for Unity's Built-in Render Pipeline. Whether you're creating visual debugging tools, wireframe-style art, architectural layouts, or stylized UI, this shader offers full flexibility to draw clean, customizable grid lines directly on any surface.
Easily apply it to 2D planes, 3D meshes, or UI elements to render precision-aligned grid overlays. Configure grid density per axis (X and Y), line color, thickness, sub-grid steps, and even background color with transparency. Sub-grids allow for detailed spacing within your main grid, offering further visual control for prototyping, design tools, or technical illustrations.
When applied to meshes with well-defined UV mapping, Grid Shader can simulate a clean and stylized wireframe effect, making it ideal for visual debugging or creative rendering styles.
Ideal for developers and artists who need real-time grid visualization with total aesthetic control.
Supports the following Unity versions: