Enum Class PssmShadowRenderer.FilterMode

java.lang.Object
java.lang.Enum<PssmShadowRenderer.FilterMode>
com.jme3.shadow.PssmShadowRenderer.FilterMode
All Implemented Interfaces:
Serializable, Comparable<PssmShadowRenderer.FilterMode>, Constable
Enclosing class:
PssmShadowRenderer

@Deprecated public static enum PssmShadowRenderer.FilterMode extends Enum<PssmShadowRenderer.FilterMode>
Deprecated.
FilterMode specifies how shadows are filtered
  • Enum Constant Details

    • Nearest

      public static final PssmShadowRenderer.FilterMode Nearest
      Deprecated.
      Shadows are not filtered. Nearest sample is used, causing in blocky shadows.
    • Bilinear

      public static final PssmShadowRenderer.FilterMode Bilinear
      Deprecated.
      Bilinear filtering is used. Has the potential of being hardware accelerated on some GPUs
    • Dither

      public static final PssmShadowRenderer.FilterMode Dither
      Deprecated.
      Dither-based sampling is used, very cheap but can look bad at low resolutions.
    • PCF4

      public static final PssmShadowRenderer.FilterMode PCF4
      Deprecated.
      4x4 percentage-closer filtering is used. Shadows will be smoother at the cost of performance
    • PCFPOISSON

      public static final PssmShadowRenderer.FilterMode PCFPOISSON
      Deprecated.
      8x8 percentage-closer filtering is used. Shadows will be smoother at the cost of performance
    • PCF8

      public static final PssmShadowRenderer.FilterMode PCF8
      Deprecated.
      8x8 percentage-closer filtering is used. Shadows will be smoother at the cost of performance
  • Method Details

    • values

      public static PssmShadowRenderer.FilterMode[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PssmShadowRenderer.FilterMode valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null