Files
OCCT/src/Shaders/RaytraceBase.vs
dbp fc73a20256 0024739: TKOpenGl - port ray-tracing from OpenCL to GLSL for better integration and portability
RayTracing - disable reflections by default
Fix possible compilation issue on Mac OS X.
2014-04-04 14:15:08 +04:00

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