Class ShaderUtil.NormalMapGenParam

java.lang.Object
org.boxutil.util.ShaderUtil.NormalMapGenParam
Enclosing class:
ShaderUtil

public static class ShaderUtil.NormalMapGenParam extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    Gen POT texture if needed.
    float
    Set to 0.0f turn off.
    float
    Set to 0.0f turn off.
    org.lwjgl.util.vector.Vector2f
    Nullable, {blurStep(integer), applyMix}, set null that disabled; general 12 step for chunk surface.
    byte
    For bilateral filter, set to less than or equal 0 that filter disabled.
    float
    For bilateral filter, set to less than or equal 0.0 that filter disabled.
    float
    For bilateral filter, set to less than or equal 0.0 that filter disabled.
    boolean
    False for default.
    boolean
    True for default.
    boolean
    Gen mip-map chain if needed, only works when alignPOT is true and is a new texture.
    boolean
    True for default.
    float
    General value is 2.5 and recommended 5.0 for maximum.
    byte
    The blur 'strength' of source texture.
    float
    Effects source and details.
    float
    Effects source and details.
    float
    1.0 for no effect and it is general value, and effects details.
    float
    Effects source and details.
    float
    The details weight of source texture in normal map.
    boolean
    Const texture, faster than other texture.
    org.lwjgl.util.vector.Vector3f
    Nullable, {scale, blurStep(integer), applyStrength}, set null that disabled; the scale general value is 0.01~0.02 for generate.
    boolean
    Apply edge smooth to the 'bottom' and 'top' of volume map.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • srcPowFactor

      public float srcPowFactor
      1.0 for no effect and it is general value, and effects details.
    • srcStrength

      public float srcStrength
      The details weight of source texture in normal map.
    • srcBrightness

      public float srcBrightness
      Effects source and details.
    • srcContrast

      public float srcContrast
      Effects source and details.
    • srcSmoothstepMix

      public float srcSmoothstepMix
      Effects source and details.
    • filterSigmaSpace

      public float filterSigmaSpace
      For bilateral filter, set to less than or equal 0.0 that filter disabled.
    • filterSigmaRange

      public float filterSigmaRange
      For bilateral filter, set to less than or equal 0.0 that filter disabled.
    • applyHorizontalRamp

      public float applyHorizontalRamp
      Set to 0.0f turn off.
    • applyVerticalRamp

      public float applyVerticalRamp
      Set to 0.0f turn off.
    • volume

      public org.lwjgl.util.vector.Vector3f volume
      Nullable, {scale, blurStep(integer), applyStrength}, set null that disabled; the scale general value is 0.01~0.02 for generate.
    • volumeSmoothMix

      public boolean volumeSmoothMix
      Apply edge smooth to the 'bottom' and 'top' of volume map.
    • details

      public org.lwjgl.util.vector.Vector2f details
      Nullable, {blurStep(integer), applyMix}, set null that disabled; general 12 step for chunk surface.
    • normalStrength

      public float normalStrength
      General value is 2.5 and recommended 5.0 for maximum.
    • filterRadius

      public byte filterRadius
      For bilateral filter, set to less than or equal 0 that filter disabled.
    • srcBlurStep

      public byte srcBlurStep
      The blur 'strength' of source texture.
    • keepSrcAlpha

      public boolean keepSrcAlpha
      True for default.
    • flipX

      public boolean flipX
      False for default.
    • flipY

      public boolean flipY
      True for default.
    • alignPOT

      public boolean alignPOT
      Gen POT texture if needed.
    • genMipmap

      public boolean genMipmap
      Gen mip-map chain if needed, only works when alignPOT is true and is a new texture.
    • useTextureStorage

      public boolean useTextureStorage
      Const texture, faster than other texture.
  • Constructor Details

    • NormalMapGenParam

      public NormalMapGenParam()