|
Easy3D 3.0.0
|
Portable shadow-map settings. More...
#include <render_settings.h>
Public Attributes | |
| bool | enabled = false |
| Enable shadow mapping. | |
| unsigned | map_size = 1024 |
| Shadow-map side length in pixels; must be a positive power of two. | |
| float | light_distance = 50.0f |
| Light-frustum distance as a multiple of the scene radius; at least 1.1. | |
| float | darkness = 0.6f |
| Shadow darkening in [0,1], where one is black. | |
| float | softness = 0.0f |
| Normalized blocker-search/filter radius in [0,1]; zero selects hard shadows. | |
| bool | virtual_background = false |
| Render a shadow-receiving background plane without a picking ID. | |
| vec4 | virtual_background_color = vec4(0.8f) |
| Linear RGBA color of the virtual background plane. | |
Portable shadow-map settings.