projects
/
occt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
0025703: Visualization - Decrease number of samplers used in ray-tracing mode
[occt.git]
/
src
/
Shaders
/
RaytraceBase.vs
1
in vec4 occVertex;
2
3
//! Normalized pixel coordinates.
4
out vec2 vPixel;
5
6
void main (void)
7
{
8
vPixel = vec2 ((occVertex.x + 1.f) * 0.5f,
9
(occVertex.y + 1.f) * 0.5f);
10
11
gl_Position = occVertex;
12
}