Package org.boxutil.util
Class ShaderUtil.NormalMapGenParam
java.lang.Object
org.boxutil.util.ShaderUtil.NormalMapGenParam
- Enclosing class:
- ShaderUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanGen POT texture if needed.floatSet to0.0fturn off.floatSet to0.0fturn off.org.lwjgl.util.vector.Vector2fNullable,{blurStep(integer), applyMix}, setnullthat disabled; general12step for chunk surface.byteFor bilateral filter, set to less than or equal0that filter disabled.floatFor bilateral filter, set to less than or equal0.0that filter disabled.floatFor bilateral filter, set to less than or equal0.0that filter disabled.booleanFalse for default.booleanTrue for default.booleanGen mip-map chain if needed, only works whenalignPOTistrueand is a new texture.booleanTrue for default.floatGeneral value is2.5and recommended5.0for maximum.byteThe blur 'strength' of source texture.floatEffects source and details.floatEffects source and details.float1.0for no effect and it is general value, and effects details.floatEffects source and details.floatThe details weight of source texture in normal map.booleanConst texture, faster than other texture.org.lwjgl.util.vector.Vector3fNullable,{scale, blurStep(integer), applyStrength}, setnullthat disabled; the scale general value is0.01~0.02for generate.booleanApply edge smooth to the 'bottom' and 'top' of volume map. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
srcPowFactor
public float srcPowFactor1.0for no effect and it is general value, and effects details. -
srcStrength
public float srcStrengthThe details weight of source texture in normal map. -
srcBrightness
public float srcBrightnessEffects source and details. -
srcContrast
public float srcContrastEffects source and details. -
srcSmoothstepMix
public float srcSmoothstepMixEffects source and details. -
filterSigmaSpace
public float filterSigmaSpaceFor bilateral filter, set to less than or equal0.0that filter disabled. -
filterSigmaRange
public float filterSigmaRangeFor bilateral filter, set to less than or equal0.0that filter disabled. -
applyHorizontalRamp
public float applyHorizontalRampSet to0.0fturn off. -
applyVerticalRamp
public float applyVerticalRampSet to0.0fturn off. -
volume
public org.lwjgl.util.vector.Vector3f volumeNullable,{scale, blurStep(integer), applyStrength}, setnullthat disabled; the scale general value is0.01~0.02for generate. -
volumeSmoothMix
public boolean volumeSmoothMixApply edge smooth to the 'bottom' and 'top' of volume map. -
details
public org.lwjgl.util.vector.Vector2f detailsNullable,{blurStep(integer), applyMix}, setnullthat disabled; general12step for chunk surface. -
normalStrength
public float normalStrengthGeneral value is2.5and recommended5.0for maximum. -
filterRadius
public byte filterRadiusFor bilateral filter, set to less than or equal0that filter disabled. -
srcBlurStep
public byte srcBlurStepThe blur 'strength' of source texture. -
keepSrcAlpha
public boolean keepSrcAlphaTrue for default. -
flipX
public boolean flipXFalse for default. -
flipY
public boolean flipYTrue for default. -
alignPOT
public boolean alignPOTGen POT texture if needed. -
genMipmap
public boolean genMipmapGen mip-map chain if needed, only works whenalignPOTistrueand is a new texture. -
useTextureStorage
public boolean useTextureStorageConst texture, faster than other texture.
-
-
Constructor Details
-
NormalMapGenParam
public NormalMapGenParam()
-