Package com.google.android.filament
Class View.SoftShadowOptions
- java.lang.Object
-
- com.google.android.filament.View.SoftShadowOptions
-
- Enclosing class:
- View
public static class View.SoftShadowOptions extends java.lang.ObjectView-level options for DPCF and PCSS Shadowing. Warning: This API is still experimental and subject to change.
-
-
Field Summary
Fields Modifier and Type Field Description floatpenumbraRatioScaleGlobally scales the computed penumbra ratio of all DPCF and PCSS shadows.floatpenumbraScaleGlobally scales the penumbra of all DPCF and PCSS shadows Acceptable values are greater than 0
-
Constructor Summary
Constructors Constructor Description SoftShadowOptions()
-
-
-
Field Detail
-
penumbraScale
public float penumbraScale
Globally scales the penumbra of all DPCF and PCSS shadows Acceptable values are greater than 0
-
penumbraRatioScale
public float penumbraRatioScale
Globally scales the computed penumbra ratio of all DPCF and PCSS shadows. This effectively controls the strength of contact hardening effect and is useful for artistic purposes. Higher values make the shadows become softer faster. Acceptable values are equal to or greater than 1.
-
-