overte-HifiExperiments/interface/resources/shaders/passthrough.vert
2013-09-26 16:45:09 -07:00

10 lines
No EOL
270 B
GLSL

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