voxspatium/data/shaders/chunk.frag

8 lines
141 B
GLSL

#version 330
in vec3 testo;
void main(void) {
gl_FragColor = vec4((testo.x / 2) + 0.5, (testo.y / 2) + 0.5, (testo.z / 2) + 0.5, 1.0f);
}