Shader compilation failure -> show a detailed error message #24

Open
opened 2024-12-29 18:47:31 +00:00 by ChaoticByte · 2 comments
ChaoticByte commented 2024-12-29 18:47:31 +00:00 (Migrated from github.com)

For now Fragmented can only check if shader compilation failed by using a hacky workaround without a detailed error message.
Continuation of #16

For now Fragmented can only check if shader compilation failed by using a [hacky workaround](https://forum.godotengine.org/t/how-to-detect-shader-compilation-errors-at-runtime/66687) without a detailed error message. Continuation of #16
ChaoticByte commented 2024-12-29 18:49:24 +00:00 (Migrated from github.com)

Alternative way:

https://docs.godotengine.org/en/stable/classes/class_renderingdevice.html
https://docs.godotengine.org/en/stable/classes/class_rdshadersource.html

This most probably requires big code changes and low level shit I don't yet know about, but provides a cleaner, less hacky way to apply shaders to the image(s).
Wouldn't be Godot Shaders tho.

Alternative way: https://docs.godotengine.org/en/stable/classes/class_renderingdevice.html https://docs.godotengine.org/en/stable/classes/class_rdshadersource.html This most probably requires big code changes and low level shit I don't yet know about, but provides a cleaner, less hacky way to apply shaders to the image(s). Wouldn't be Godot Shaders tho.
ChaoticByte commented 2024-12-29 18:49:52 +00:00 (Migrated from github.com)
https://github.com/godotengine/godot-proposals/issues/3000#issuecomment-2171902197 -> Created proposal https://github.com/godotengine/godot-proposals/issues/11416 -> waiting
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ChaoticByte/Fragmented#24
No description provided.