Back to Filament

anisotropy

docs/android/dokka/filament-android/com.google.android.filament/-view/-vsm-shadow-options/anisotropy.md

1.75.0537 B
Original Source

//filament-android/com.google.android.filament/View/VsmShadowOptions/anisotropy

anisotropy

[main]
open var anisotropy: Int

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.

The number of anisotropic samples = 2 ^ vsmAnisotropy.