namic
Are there any shadow mapping examples for Urho? I’m looking for PCF, hard, VSM?
Are there any shadow mapping examples for Urho? I’m looking for PCF, hard, VSM?
If I’m not mistaken, NSW already has PCF shadows as an example. Check the combined shaders.xml file:
Any exaple in Urho uses PCF shadows. It is default option:
Renderer::Renderer(Context* context) :
...
shadowMapFilterInstance_(0),
shadowMapFilter_(0),
....
shadowMapSize_(1024),
shadowQuality_(SHADOWQUALITY_PCF_16BIT),
u can shange it through Renderer subsystem:
GetSubsystem<Renderer>()->SetShadowMapSize(2048);
GetSubsystem<Renderer>()->SetShadowQuality();
and other (see Renderer.h)
Also some settings of shadows there are in Light component
Shadows tend to be very low quality still. Any other tricks to increase resolution?