Creating ASHLI shader for Maya

Ti22

Newcomer
Hey guys,

I am really interested in learning how to write my own shaders, I am currently learning HLSL and hopefully I will be able to understand "shading languages" more so I can apply it to Renderman's Shader Language, GLSL, Cg etc....

Graphics programming is the only kind of programming i am insterested in, as I am more of an artist, rather than a programmer.

anyways I want to be able to write my own ASHLI shaders and use it in Maya. Rite now I am learning from a book called "Programming Vertex and Pixel Shaders" by Wolfgang Engel and I am now up to the chapter that teaches me how to write a basic lambert lighting model.

anyway I want to know how I can make the shader work with CgFX plugin for maya or ASHLI plugin for Maya properly. everytime i load my shader into cgfx or ashli i get an error.

another question is Is it possible for me to write a HLSL shader that interacts to Maya's Light?

Is there a documentation that teaches me these thing somewhere?

Thx
 
Back
Top