0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / Shaders / RaytraceBase.vs
CommitLineData
7d3e64ef 1in vec4 occVertex;
fc73a202 2
3//! Normalized pixel coordinates.
4out vec2 vPixel;
5
6void main (void)
7{
7d3e64ef 8 vPixel = vec2 ((occVertex.x + 1.f) * 0.5f,
9 (occVertex.y + 1.f) * 0.5f);
10
11 gl_Position = occVertex;
12}