projects
/
occt.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git]
/
src
/
Shaders
/
RaytraceBase.vs
Commit
Line
Data
7d3e64ef
1
in vec4 occVertex;
fc73a202
2
3
//! Normalized pixel coordinates.
4
out vec2 vPixel;
5
6
void 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
}