Ability to use custom DirectionalShadowLight into CascadeShadowMap
dar-dev opened this issue · 0 comments
dar-dev commented
We miss the possibility to create a custom DirectionalShadowLight when creating lights for cascading into CascadeShadowMap class.
This is a quick implementation:
protected DirectionalShadowLight createDirectionalShadowLight(int shadowMapWidth, int shadowMapHeight)
{
return new DirectionalShadowLight(shadowMapWidth, shadowMapHeight);
}