Fixed Fxaa, I broke it with change 10750

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10781 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
rem..om 11 years ago
parent f3165b632f
commit 8ffd1363b5
  1. 2
      engine/src/core-effects/Common/MatDefs/Post/FXAA.vert

@ -10,7 +10,7 @@ varying vec2 texCoord;
varying vec4 posPos; varying vec4 posPos;
void main() { void main() {
vec2 pos = (g_WorldViewProjectionMatrix * inPosition).xy; vec2 pos = inPosition.xy * 2.0 - 1.0;
gl_Position = vec4(pos, 0.0, 1.0); gl_Position = vec4(pos, 0.0, 1.0);
texCoord = inTexCoord; texCoord = inTexCoord;
posPos.xy = inTexCoord.xy; posPos.xy = inTexCoord.xy;

Loading…
Cancel
Save