Fixed ssao filter for opengl < 1.5
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
9a6fe1fdf5
commit
21e5244c0a
@ -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);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user