mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-02-07 14:28:40 +00:00
8 lines
236 B
HLSL
8 lines
236 B
HLSL
varying vec3 position;
|
|
float poolHeight = 1.0;
|
|
|
|
void main() {
|
|
position = gl_Vertex.xyz;
|
|
position.y = ((1.0 - position.y) * (7.0 / 12.0) - 1.0) * poolHeight;
|
|
gl_Position = gl_ModelViewProjectionMatrix * vec4(position, 1.0);
|
|
} |