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) :
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?