Hello,
I developed quite a lot in OpenGL and its shader language GLSL and know how to render a scene multiple times, with different shaders on the stack. This way I can use those shader outcomes as an input for another shader to do some calculations on it.
I now try to do the same thing with renderman but I am a bit lost. Do I have to define mulitple passes in the rendering settings? How do I assign a shader to only be used in one render pass? How can I hand in results from one shader into another.
I dont know really where to start and looked at different types of rendering passes and shading groups, but dont seem to really understand how this should work.
If someone has ever done it, could you give me some hints on how to do it?
Basically I want to create depth/normal and object id image and use it in the final rendering to do some calculations on them and produce the final image.
Thanks for your help.