* Fix FXAA on Android (but it's not really noticeable .. pixels are too small)

experimental
shadowislord 10 years ago
parent 81fe180713
commit 8d406380b0
  1. 2
      jme3-effects/src/main/resources/Common/MatDefs/Post/FXAA.frag

@ -15,7 +15,7 @@ varying vec4 posPos;
#if __VERSION__ >= 130
#define OffsetVec(a, b) ivec2(a, b)
#define FxaaTexOff(t, p, o, r) textureOffset(t, p, o)
#elif defined(GL_EXT_gpu_shader4)
#elif defined(GL_EXT_gpu_shader4) && !defined(GL_ES)
#define OffsetVec(a, b) ivec2(a, b)
#define FxaaTexOff(t, p, o, r) texture2DLodOffset(t, p, 0.0, o)
#else

Loading…
Cancel
Save