Hi there, I have a custom OSL baking camera which I use for custom projection mapping solutions.
The issue I'm having is that parameters defined within the shader code are not being updated from the GUI.
For example, if I define a parameter such as this: "float surfOffset = 10.0", the parameter becomes available in the GUI. However, any changes made to the parameter in the GUI are ignored at render time and the values are reset to what's in the original shader definition.
I've tried a few things, such as disabling "Auto Compile", but nothing seems to work. Any advice would be greatly appreciated.