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

Qt: Add live ubershader editor #533

Merged
merged 2 commits into from
Jul 14, 2024
Merged

Qt: Add live ubershader editor #533

merged 2 commits into from
Jul 14, 2024

Conversation

wheremyfoodat
Copy link
Owner

This PR adds the ability to edit the fragment shader used for the ubershader in real time, in order to be able to easily and efficiently debug it, edit it and/or profile it. Any syntax errors are written to the console and the editor is designed to be backend-agnostic, though only the OpenGL renderer has had the relevant glue code written for it atm.

Example of live editing the ubershader to make the red component stronger:
image
image

@wheremyfoodat wheremyfoodat merged commit 398d84d into master Jul 14, 2024
14 checks passed
@wheremyfoodat wheremyfoodat deleted the crypto branch July 14, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant