mobiground/vertex.glsl
CRy386i 238882257b Added libm, PortView, Triangles, Orthographics View
Added libm into build system '-lm'.
Edited shaders.
Added dynamic resize window.
Added another triangle and test depth with intersection triangles.
2025-01-16 11:32:57 +02:00

12 lines
173 B
GLSL

#version 330
layout(location = 0) in vec4 pos;
layout(location = 1) in vec4 colour;
smooth out vec4 _colour;
void main()
{
gl_Position = pos;
_colour = colour;
}