mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 02:36:45 +02:00
10 lines
No EOL
249 B
GLSL
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;
|
|
} |