Shader Dev
For Arnold Render with C++
Tutorials
Books
https://thebookofshaders.com/
Setting up
Download VSC
Download Arnold SDK
Setting up Visual Studio Code
Creating the Maya interface for your shader
Referencing your template files
Use the template from Arnold docs
Open your Maya env file located in
~/Library/Preferences/Autodesk/maya/2020/
Insert this line at the end and save the file
MTOA_TEMPLATES_PATH = $HOME/Documents/maya/projects/arnold
In Professor Kesson's Cutter script editor v8.34 and above, it will automate the process of parsing your cpp file for the node parameters, and write into a python template file.
Utilities
Mix
AtRGB mix(AtRGB a, AtRGB b, float alpha){
return a*(1-alpha) +b *alpha;
}
Last updated
Was this helpful?