zworld/assets/shaders/lib/deferred_vertex.glsl

12 lines
177 B
Plaintext
Raw Normal View History

2024-01-14 22:56:06 +08:00
// Common vertex shader code
// Varyings
OUT(0, flat uint, object)
OUT(1, vec3, normal)
OUT(2, vec3, position)
OUT(3, vec4, color)
out gl_PerVertex
{
vec4 gl_Position;
};