I have build a lens shader in cvex ( cylindrical lens ) that works perfectly in Solaris viewport (Karma CPU)
but fails when I try to render to mplay or to disk ( using a classical "Karma CPU setup" in solaris )
I can see lens shader related info in the usd at "Render/rendersetting" , everything seems alright to me.
- karma:camera:lensshader -> op:/obj/....
- karma:camera:uselensshader -> True
But it renders as if uselensshader was set to false.
Is this a bug ? or Am I missing something ?
I use
Houdini FX Version 21.0.508
On Windows 11
Looking at the log Viewer, I see errors :
Error loading lens shader: Unable to load shader 'op:/obj/cylindrical_lens_test/LENS_SHADER/gui2one_cylindrical_lens1'
Command Exit Code: 1
Error loading lens shader: Unable to load shader 'op:/obj/cylindrical_lens_test/LENS_SHADER/gui2one_cylindrical_lens1'
Error - lens shader must have P and I as outputs: Unable to load shader 'op:/obj/cylindrical_lens_test/LENS_SHADER/gui2one_cylindrical_lens1'
But my cvex network correctly outputs P and I vectors
