Skip to content

Instantly share code, notes, and snippets.

View tinylucid's full-sized avatar

Filip Miletic tinylucid

View GitHub Profile
@tinylucid
tinylucid / InfiniteGrid.shader
Created October 12, 2023 08:50 — forked from bgolus/InfiniteGrid.shader
Infinite Grid shader with procedural grid with configurable divisions and major and minor lines markings.
Shader "Unlit/InfiniteGrid"
{
Properties
{
[Toggle] _WorldUV ("Use World Space UV", Float) = 1.0
_GridScale ("Grid Scale", Float) = 1.0
_GridBias ("Grid Bias", Float) = 0.5
_GridDiv ("Grid Divisions", Float) = 10.0
_BaseColor ("Base Color", Color) = (0,0,0,1)
_LineColor ("Line Color", Color) = (1,1,1,1)
@tinylucid
tinylucid / GPUOptimizationForGameDev.md
Created January 10, 2021 15:16 — forked from silvesthu/GPUOptimizationForGameDev.md
GPU Optimization for GameDev