-
Hello! This might be a dumb question, but I don't seem to be able to find how to reload shaders directly from Blender to see changes. I am currently using the MiniPipeline example and a file containing the default shader defined in the same pipeline. I have loaded my .glsl file in a material, but I don't seem to be able to find how to recompile it. Trying to reload the file, switch to another file and then to the original one again, or reloading the pipeline don't seem to work. As an additional question, where is the console output itself for the shader compilation ? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Changes in the shader file should be detected and reloaded automatically.
There's no console output. Any error/warning should show in the material panel. |
Beta Was this translation helpful? Give feedback.
-
Hello, here is a reproduction file. OS : Windows 10 When I was recreating it I used the wrong pipeline by mistake (CustomPipeline.py instead of MiniPipeline) and it seemed to reload fine, so it might be a problem with MiniPipeline itself Another bug (?) I found with that CustomPipeline.py was that it didn't seem to start correctly when opened, until I made a change to the pipeline. I'll try making a repro case for that too later. |
Beta Was this translation helpful? Give feedback.
Hello, here is a reproduction file.
OS : Windows 10
Blender : 3.0.1
Malt : Preview 1.0
2022-03-10-shaderreload.zip
When I was recreating it I used the wrong pipeline by mistake (CustomPipeline.py instead of MiniPipeline) and it seemed to reload fine, so it might be a problem with MiniPipeline itself
Another bug (?) I found with that CustomPipeline.py was that it didn't seem to start correctly when opened, until I made a change to the pipeline. I'll try making a repro case for that too later.