Class View.VsmShadowOptions

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int anisotropy
      Sets the number of anisotropic samples to use when sampling a VSM shadow map.
      float lightBleedReduction
      VSM light bleeding reduction amount, between 0 and 1.
      float minVarianceScale
      VSM minimum variance scale, must be positive.
      boolean mipmapping
      Whether to generate mipmaps for all VSM shadow maps.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • anisotropy

        public int anisotropy
        Sets the number of anisotropic samples to use when sampling a VSM shadow map. If greater than 0, mipmaps will automatically be generated each frame for all lights. This implies mipmapping below.

        The number of anisotropic samples = 2 ^ vsmAnisotropy.

      • mipmapping

        public boolean mipmapping
        Whether to generate mipmaps for all VSM shadow maps.
      • minVarianceScale

        public float minVarianceScale
        VSM minimum variance scale, must be positive.
      • lightBleedReduction

        public float lightBleedReduction
        VSM light bleeding reduction amount, between 0 and 1.
    • Constructor Detail

      • VsmShadowOptions

        public VsmShadowOptions()