Integration of Custom Path Tracer into a Cycles Shading Pipeline

I am building a path tracer from the ground up and was hoping to use cycles to shade my intersection results.

Can someone explain to me how cycles feeds intersection results as an input to the shader and where that would live in the repository/source code (

Like I said in the chat: maybe you can do something with the bake api? search for filenames containing ‘bake’.

I don’t think using Cycles (or another renderer) for shading and then doing other parts yourself makes a lot of sense. OpenShadingLanguage and MDL are libraries designed to be integrated in renderers and handle shading, it’s should be much easier to integrate one of those.

1 Like