repo.or.cz
/
opensg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed: auto_ptr -> unique_ptr
[opensg.git]
/
Examples
/
Advanced
/
DeferredShading
/
DSGBuffer.vp.glsl
blob
ca5508791bc27c57363efc5bdc6f6aa1f67807ff
1
#version 120
2
3
varying vec4 vertPos;
4
varying vec3 vertNorm;
5
6
void main(void)
7
{
8
vertPos = gl_ModelViewMatrix * gl_Vertex;
9
vertNorm = gl_NormalMatrix * gl_Normal;
10
11
gl_TexCoord[0] = gl_MultiTexCoord0;
12
gl_FrontColor = gl_Color;
13
gl_Position = ftransform();
14
}