Skip to content

Add visual feedback for shader error#1315

Draft
williamchange wants to merge 1 commit intoRodZill4:masterfrom
williamchange:shader-error
Draft

Add visual feedback for shader error#1315
williamchange wants to merge 1 commit intoRodZill4:masterfrom
williamchange:shader-error

Conversation

@williamchange
Copy link
Copy Markdown
Contributor

suggestion via discord (by Arnklit)

Would it be possible to make the 2D preview show something else than the last succesfully rendered shader when you make a shader error?
like 😛
unknown

I just wish it did something else :P... it's just annoying when nothing is happening and you don't know it because it's still showing the last render. But yeah I didn't really think it was possible to catch this.

This uses get_shader_uniform_list().is_empty() to check if the shader compiles

error.mp4

@williamchange williamchange changed the title Added visual feedback for shader error Add visual feedback for shader error Mar 22, 2026
@williamchange williamchange marked this pull request as draft March 24, 2026 05:19
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