Houdini 19.0 Nodes VOP nodes

MtlX Fake Caustics for Karma VOP node

On this page

This node takes an incoming MaterialX surface shader and adds fake caustics to the shader for rendering with Karma. This has no effect when used in other renderers.

This node will output a different opacity value based on whether or not the ray used is a shadow ray.

Parameters

in

Surface Shader The input surface shader.

enable

Bool Whether to enable fake caustics.

ior

Float Relative index of refraction between the surface and the exterior.

transmission

Float Scaling factor of transmission color.

transmission_color

Color3 Fake transmission color of the shaded object, used to tint the shadow ray.

opacity

Float Minimum opacity of the object.

bsdf

Float Instead specifying the shadow color explicitly, with XPU, it’s possible to compute the shadow opacity from the BSDF. This mixes between the explicit parameters in the VOP (toward 0) and the shadow opacity from the transmission lobes of BSDF (toward 1).

normal

Vector Normal vector to use. If this is not connected, the shader uses the geometry’s world-space normal.

Outputs

_in

Surface Surface shader with fake caustics applied.

See also

VOP nodes