Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/assets/shaders/GLSL/DeferredShadingPass2.glsl

Diff revisions: vs.
  @@ -1,7 +1,7 @@
1 1 -- Vertex
2 2
3 - in vec3 inVertexData;
4 - in vec3 cameraPosition;
3 + in vec3 inVertexData;
4 + in vec3 dvd_cameraPosition;
5 5
6 6 uniform mat4 dvd_ModelViewProjectionMatrix;
7 7
  @@ -9,7 +9,7 @@
9 9
10 10 void main( void ){
11 11
12 - _eyePos = cameraPosition;
12 + _eyePos = dvd_cameraPosition;
13 13 gl_Position = dvd_ModelViewProjectionMatrix * vec4(inVertexData,1.0);
14 14 gl_FrontColor = vec4(1.0, 1.0, 1.0, 1.0);
15 15 }