overte/interface/resources/shaders/passthrough.vert
2013-09-26 17:03:50 -07:00

10 lines
No EOL
249 B
GLSL

#version 120
attribute float voxelSizeIn;
varying float voxelSize;
void main(void) {
gl_FrontColor = gl_Color;
gl_Position = gl_Vertex; // don't call ftransform(), because we do projection in geometry shader
voxelSize = voxelSizeIn;
}