mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-01 17:36:21 +03:00
Reorganized resources to keep source part in src and real-time scripts in resource folder. For the installation result no changes, still installed to src for windows.
13 lines
212 B
GLSL
13 lines
212 B
GLSL
in vec4 occVertex;
|
|
|
|
//! Normalized pixel coordinates.
|
|
out vec2 vPixel;
|
|
|
|
void main (void)
|
|
{
|
|
vPixel = vec2 ((occVertex.x + 1.f) * 0.5f,
|
|
(occVertex.y + 1.f) * 0.5f);
|
|
|
|
gl_Position = occVertex;
|
|
}
|