mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
18 lines
277 B
GLSL
18 lines
277 B
GLSL
|
#version 300 es
|
||
|
|
||
|
layout(location = 0) in vec3 vertexPosition_modelspace;
|
||
|
|
||
|
uniform float alpha;
|
||
|
|
||
|
out highp vec3 pos;
|
||
|
out highp float a;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
gl_Position.xyz = vertexPosition_modelspace;
|
||
|
gl_Position.w = 1.0;
|
||
|
|
||
|
pos = vertexPosition_modelspace;
|
||
|
a = alpha;
|
||
|
}
|