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

Implement a shader baking system #20

Open
stuarthayhurst opened this issue Jun 12, 2024 · 0 comments
Open

Implement a shader baking system #20

stuarthayhurst opened this issue Jun 12, 2024 · 0 comments
Labels
renderer Affects the renderer shaders Affects the shaders

Comments

@stuarthayhurst
Copy link
Owner

stuarthayhurst commented Jun 12, 2024

After porting to Vulkan, bake the current graphics settings into the shaders, where possible. Keep a table of loaded shaders, and when graphics settings change, search the table first, then the disk cache and finally compile if neither of these match. The graphics settings will need to be included in the cache string (reuse functions from cache / file manager).

The post-processing shaders might heavily benefit from this after more options are introduced.

@stuarthayhurst stuarthayhurst converted this from a draft issue Jun 12, 2024
@stuarthayhurst stuarthayhurst added feature request New feature or request renderer Affects the renderer shaders Affects the shaders and removed feature request New feature or request labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
renderer Affects the renderer shaders Affects the shaders
Projects
Status: Planned
Development

No branches or pull requests

1 participant