Skip to content

Conversation

@adriengivry
Copy link
Member

Description

The "Compile All Shaders" button was broken, and resulted in a bunch of errors being displayed. This was due to the pathParserCallback not being provided.

This PR fixes that issue by using ReloadResource instead of Recompile, which internally calls Recompile and automatically provides the pathParserCallback to the ShaderLoader, as well as properly enabling shader compilation logging.

Also updated an OVLOG_INFO that was supposed to be an OVLOG_ERROR in the shader compilation code.

Screenshot(s)

OvEditor_Q17R82cWZF.mp4

@adriengivry adriengivry self-assigned this May 8, 2025
@adriengivry adriengivry added the Editor Something relative with the editor label May 8, 2025
@adriengivry adriengivry force-pushed the fix/compile_all_shaders branch from 05d9c36 to c70e3b9 Compare May 8, 2025 22:18
@adriengivry adriengivry force-pushed the fix/compile_all_shaders branch from c70e3b9 to b3ea82f Compare May 8, 2025 22:19
@adriengivry adriengivry merged commit f6f3c97 into main May 10, 2025
@adriengivry adriengivry deleted the fix/compile_all_shaders branch May 10, 2025 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Editor Something relative with the editor

Development

Successfully merging this pull request may close these issues.

2 participants