Browse Source

fix skydome glsl error

golden 9 years ago
parent
commit
5f7ef278be
1 changed files with 2 additions and 5 deletions
  1. 2 5
      bin/CoreData/Shaders/GLSL/Skydome.glsl

+ 2 - 5
bin/CoreData/Shaders/GLSL/Skydome.glsl

@@ -4,9 +4,6 @@
 
 
 varying vec2 vTexCoord;
 varying vec2 vTexCoord;
 
 
-uniform mat4 gl_ModelViewMatrix;
-uniform mat4 gl_ProjectionMatrix;
-
 void VS()
 void VS()
 {
 {
     mat4 modelMatrix = iModelMatrix;
     mat4 modelMatrix = iModelMatrix;
@@ -17,6 +14,6 @@ void VS()
 }
 }
 
 
 void PS()
 void PS()
-{   
-    gl_FragColor = texture2D(sDiffMap, vTexCoord);       
+{
+    gl_FragColor = texture2D(sDiffMap, vTexCoord);
 }
 }