1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-01 17:36:21 +03:00
occt/resources/Shaders/RaytraceBase.vs
Pasukhin Dmitry df4b931988
Configuration - Resource structure reorganization #429
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.
2025-03-18 22:54:43 +00:00

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;
}