diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-31 10:19:38 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-31 10:19:38 +1000 |
commit | 0a60692230841cbcbbf67acba55d2dbb4730b6cb (patch) | |
tree | 1f53fb5144310e6972aa3448c3b68c57e922cb70 /assets | |
parent | 547268b5a9cacc514445a59cc482897fd2f201ee (diff) |
add empty grid system
Diffstat (limited to 'assets')
-rw-r--r-- | assets/shaders/grid.frag | 7 | ||||
-rw-r--r-- | assets/shaders/grid.vert | 11 |
2 files changed, 18 insertions, 0 deletions
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 |