gui2one

gui2one

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

Lens shader not working when render to File/Mplay 2025年11月24日7:06

Thank you so much for the tip. No, I hadn't fully read the docs.

And I didn't check "Save cached code" in my HDA properties.
It works perfectly now.

Lens shader not working when render to File/Mplay 2025年11月24日6:18

jsmack
gui2one
Error loading lens shader: Unable to load shader 'op:/obj/cylindrical_lens_test/LENS_SHADER/gui2one_cylindrical_lens1'
Command Exit Code: 1

Unfortunately, offline karma renders cannot use lens shaders defined by nodes, only those defined by HDAs, as they can be read from disk.

Hi, but my lens shader IS defined in a hda.the lens shader itself is a cvex VOP network though.
Is that the issue ? Should I write it in cVex instead ?
Or maybe my hda is not accessible to Karma somehow ?

... a little later ...
Oh I see, it's the "op:/obj/..." thingy that is the issue, right ? So Karma cannot load my HDA.
But that's not me referecing the shader using op:/obj/..., I set the property 'lens_shader_vop' on the camera I use by giving a relative path to my hda : "../LENS_SHADER/gui2one_cylindrical_lens1".

Lens shader not working when render to File/Mplay 2025年11月20日13:40

Hello, I have an issue with a relatively simple scene in solaris.
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