Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width60%

If you want to manually modify the shader's code, you can do that in the Quick Shader area. 

 

Enable – Makes the Quick Shader's text area active. 

Once enabled, place the original code inside the text area. Alternatively, start writing in the blank area your own code. 

If you have already loaded a shader in the material parameters, right-click on it and select Open in Quick Shader option.

Another way to do this is to activate the text area and drag and drop the .osl file in there. It will load the code instantly.

 

Right-clicking on the Quick Shader panel opens a context menu. You can Compile the code after doing changes or Compile and Reset Parameters, which affects the values of the parameters in the shader as well.

Image Added

Once ready with editing, press the Compile button to refresh the UI. Modifications are updated in the UI and renderer after the successful code compilation. You can monitor the messages in the Compiler Output rollout during compilation. 

UI Text Box
typenote

The shader file originally loaded in the material (if any) will not be affected in the compilation. You need to manually save your code.

Column
width5%

 

Column
width35%

...