From 0a60692230841cbcbbf67acba55d2dbb4730b6cb Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Wed, 31 Jul 2024 10:19:38 +1000 Subject: add empty grid system --- assets/shaders/grid.frag | 7 +++++++ assets/shaders/grid.vert | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 assets/shaders/grid.frag create mode 100644 assets/shaders/grid.vert (limited to 'assets') diff --git a/assets/shaders/grid.frag b/assets/shaders/grid.frag new file mode 100644 index 0000000..5bce13b --- /dev/null +++ b/assets/shaders/grid.frag @@ -0,0 +1,7 @@ +#version 410 core + +out vec4 FragColor; + +void main() { + FragColor = vec4(1.0); +} \ No newline at end of file diff --git a/assets/shaders/grid.vert b/assets/shaders/grid.vert new file mode 100644 index 0000000..a98eabe --- /dev/null +++ b/assets/shaders/grid.vert @@ -0,0 +1,11 @@ +#version 410 core + +uniform Camera { + mat4 view; + mat4 proj; + vec4 viewPos; +} cam; + +void main() { + gl_Position = vec4(1.0); +} \ No newline at end of file -- cgit v1.2.3-70-g09d2