Browse Source

Fixed ssao filter for opengl < 1.5

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 12 years ago
parent
commit
21e5244c0a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      engine/src/core-effects/Common/MatDefs/SSAO/ssao.frag

+ 2 - 2
engine/src/core-effects/Common/MatDefs/SSAO/ssao.frag

@@ -98,7 +98,7 @@ void main(){
    ao /= float(iterations) * 4.0;
    ao /= float(iterations) * 4.0;
    result = 1.0-ao;
    result = 1.0-ao;
 
 
-   gl_FragColor=getColor(result);
+  //gl_FragColor=getColor(result);
 
 
-//gl_FragColor=vec4(normal,1.0);
+    gl_FragColor=vec4(result);
 }
 }