Hey guys,
I tried to implement a new cook torrance model as a closure color function through the source code of cycles. I have a github project of it, and I’m kinda stuck.
I don’t really know how to get all the parameters I need, I have a git repository: https://github.com/or3330/RayTracingProject.
I’ll be happy if someone could point me in the right direction with this, I don’t really know if it’s the right way to do it. you can look at intern/cycles/kernel/closure/bsdf_cook_torrance.h. And all the files that connect to it.
Thanks!