mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-05 12:17:38 +08:00
12 lines
228 B
GLSL
12 lines
228 B
GLSL
in vec4 aPosition;
|
|
|
|
//! Normalized pixel coordinates.
|
|
out vec2 vPixel;
|
|
|
|
void main (void)
|
|
{
|
|
vPixel = vec2 ((aPosition.x + 1.f) * 0.5f,
|
|
(aPosition.y + 1.f) * 0.5f);
|
|
|
|
gl_Position = aPosition;
|
|
} |