Jump to content

Directional Light quality not changing


SpiderPig
 Share

Go to solution Solved by Josh,

Recommended Posts

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.

Link to comment
Share on other sites

  • 4 months later...
  • Solution

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.

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...