Skip to content

Added visual feedback for shader error#1315

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

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

Conversation

@williamchange
Copy link
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

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