mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 16:36:18 +02:00
21 lines
No EOL
487 B
GLSL
21 lines
No EOL
487 B
GLSL
#version 120
|
|
|
|
//
|
|
// passthrough.vert
|
|
// vertex shader
|
|
//
|
|
// Copyright 2013 High Fidelity, Inc.
|
|
//
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
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;
|
|
} |