Shadow
gfx.shadow.quality
ClientEnumeration of supported soft shadow filter qualities
Values
The filter quality is applied per light type.
- Directional lights — use
gfx.shadow.set_directional_filter_quality. - Positional lights — use
gfx.shadow.set_positional_filter_quality. - Cost — higher qualities read more samples from the shadow map, so they are slower.
| Constant | Description |
|---|---|
gfx.shadow.quality.HARD | No soft filtering. Fastest setting, shadow edges are hard and shadow blur is ignored |
gfx.shadow.quality.VERY_LOW | Very low quality soft filtering. Cheap, shadows can look grainy |
gfx.shadow.quality.LOW | Low quality soft filtering. The engine default |
gfx.shadow.quality.MEDIUM | Balanced soft filtering. Good compromise between performance and quality |
gfx.shadow.quality.HIGH | High quality soft filtering. Noticeable performance cost |
gfx.shadow.quality.ULTRA | Highest quality soft filtering. Very high performance cost |