Fixed a typo in the setSubPixelShift in the FXAA filter that was causing a crash

experimental
Nehon 10 years ago
parent 6e287d0ef2
commit 73b7061b0b
  1. 2
      jme3-effects/src/main/java/com/jme3/post/filters/FXAAFilter.java

@ -85,7 +85,7 @@ public class FXAAFilter extends Filter {
public void setSubPixelShift(float subPixelShift) {
this.subPixelShift = subPixelShift;
if (material != null) {
material.setFloat("SubPixelShif", this.subPixelShift);
material.setFloat("SubPixelShift", this.subPixelShift);
}
}

Loading…
Cancel
Save