Added additional state for alpha test because

falloff can logically be 0 and have alpha test
still enabled.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10937 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
PSp..om 11 years ago
parent 79def7aa8f
commit 4fc8cb8443
  1. 7
      engine/src/core/com/jme3/renderer/RenderContext.java

@ -55,10 +55,15 @@ public class RenderContext {
public boolean depthTestEnabled = false;
/**
* @see RenderState#setAlphaTest(boolean)
* @see RenderState#setAlphaFallOff(float)
*/
public float alphaTestFallOff = 0f;
/**
* @see RenderState#setAlphaTest(boolean)
*/
public boolean alphaTestEnabled = false;
/**
* @see RenderState#setDepthWrite(boolean)
*/

Loading…
Cancel
Save