You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The preview as it is, is rather useless for shader development, as it doesn’t have live refresh. If I change my shader file on disk, the preview should refresh, so I don’t need to reopen the material window every time I do a small shader tweak. Lack of this functionality sadly prevents me from undocking the material editor, putting it somewhere else in the UI and just start coding."
I see two ways of doing this:
As the scenecomposer does it for materials, through a listener/provider on the Shader editor
As the scenecomposer does it for models, listening for changes on the file itself.
The first creates a nice integration with the other editors, encouraging usage. It however requires using them, and I figure a lot of people will be editing text files.
The second allows for external editing, but it's complicated a bit by being multiple files (at least 3, matdef, vertex and frag shaders)
Given that, the first one is probably easier to implement.
The text was updated successfully, but these errors were encountered:
From @grizeldi 's wishlist:
"The preview as it is, is rather useless for shader development, as it doesn’t have live refresh. If I change my shader file on disk, the preview should refresh, so I don’t need to reopen the material window every time I do a small shader tweak. Lack of this functionality sadly prevents me from undocking the material editor, putting it somewhere else in the UI and just start coding."
I see two ways of doing this:
The first creates a nice integration with the other editors, encouraging usage. It however requires using them, and I figure a lot of people will be editing text files.
The second allows for external editing, but it's complicated a bit by being multiple files (at least 3, matdef, vertex and frag shaders)
Given that, the first one is probably easier to implement.
The text was updated successfully, but these errors were encountered: