Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change shadow resolution without restart #30241

Closed
Gibbz opened this issue Jul 2, 2019 · 5 comments
Closed

change shadow resolution without restart #30241

Gibbz opened this issue Jul 2, 2019 · 5 comments
Labels

Comments

@Gibbz
Copy link

Gibbz commented Jul 2, 2019

Godot version:
3.1

OS/device including version:
rx580

Issue description:
Im working on a project where we are currently incorporation some graphics options. It would be nice to be able to apply the settings without needing the user to quit and relaunch the game. We have this issue mainly with shadow resolution.

@Gibbz
Copy link
Author

Gibbz commented Jul 4, 2019

Ive had a further look into the viewports. It would be great to get the following settings added to the viewports so the user doesnt need a restart:

  • target frame rate/frame cap
  • shadow sizes (directional especially)
  • anisotropic filter level

@Calinou
Copy link
Member

Calinou commented Jul 4, 2019

  • target frame rate/frame cap

Just set Engine.target_fps at any time 🙂

@Gibbz
Copy link
Author

Gibbz commented Jul 4, 2019

Nice, that may be helpful!
It would be nice to have independent frame rates for render viewports for performance and style purposes :)

@Calinou
Copy link
Member

Calinou commented Jul 5, 2019

It would be nice to have independent frame rates for render viewports for performance and style purposes :)

To render specific viewports at a lower frequency, you could render them manually by setting their Update Mode to Once repeatedly using a timer.

@Calinou
Copy link
Member

Calinou commented Nov 16, 2019

I'll close this issue in favor of #18621. If you still need it, please open another issue related to changing the anisotropic filtering level at runtime 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants