From af79d7428895413eb64bcb640e07ebb26b1c19f3 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 21 Jul 2024 20:23:52 +1000 Subject: quads kinda work --- assets/shaders/terrain.vert | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'assets/shaders/terrain.vert') diff --git a/assets/shaders/terrain.vert b/assets/shaders/terrain.vert index 5af1560..32b43b3 100644 --- a/assets/shaders/terrain.vert +++ b/assets/shaders/terrain.vert @@ -8,6 +8,10 @@ uniform Camera { vec4 viewPos; } cam; +out vec4 Color; + void main() { gl_Position = cam.proj * cam.view * vec4(inPosition, 1.0); + + Color = vec4(inPosition.y / 255.0); } \ No newline at end of file -- cgit v1.2.3-70-g09d2