SpiderPig Posted June 15 Share Posted June 15 These functions don't appear to have any effect on the shadows. I set them to 0 and nothing changes. light->SetShadowCascadeDistance(0); light->SetShadowSamples(0); But I don't know exactly what they should do... I want to reduce the shadow distance / quality somehow as a graphics option in game. Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted November 1 Solution Share Posted November 1 DirectionalLight::SetShadowCascadeDistance is working correctly now, verified by adjusting the setting in the editor. Light::SetShadowSamples is being removed from the API for performance reasons. Modify the shader Base/Lighting.glsl instead. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.