[Maya][Arnold]Source code sample for arnold shaders, maya?

Dear Tech-Artists,

This is my first post here and I thought I’d start with a couple of lines of self introduction first. I’m mostly an environment modeler/texture artist with some experience in lookdev (vfx, roughly 10 years). I’m looking to move past the art side and develop more technical skills. I’m looking to learn shader writing. I did a bit of digging around, went through some tutorials on shader writing in unity(1) and glanced at some old renderman code (2).

My gut feeling is that writing shaders for games and shaders for vfx are two very different beasts. Shader writing for games seem more about optimisation/hardware programming and it’s not a mind set I’m completely comfortable with, so I’ve decided to go for vfx shader writing (and anyway all my experience thus far is in vfx)

I would like to ask if anyone on this forum would know where I can get my hands on some sample source code for Arnold shaders? Alshaders by Anders Langlands has some really cool stuff I’m planning to look at, but as far as possible I’d also like to look at something like the standard shader, so I can see how Arnold handles all the basic stuff like light, multiple lights, specular, textures etc.

Thank you all very much, and I look forward to your replies.

XJ

(1) https://cgcookie.com/archive/noob-to-pro-shader-writing-for-unity-4-beginner/
(2) https://renderman.pixar.com/view/simple-shader-writing

Anders Langlands shaders for Arnold are an industry standard at this point. On top of that they are open source under MIT License.

http://www.anderslanglands.com/alshaders/index.html
https://bitbucket.org/anderslanglands/alshaders/wiki/Home

Thank you Dan, it’s good to know that I’m headed in the right direction. If anyone has other materials you know of, I hope you will share them with me :slight_smile: