Houdini 20.5 Nodes VOP nodes

Lens Chromatic Aberration VOP node

A VOP that can generates the tint and index of refraction for chromatic aberration effects.

On this page
Since 19.0

Overview

This is a lens shader component that generates a tint and a corresponding index of refraction. This is commonly used with the Karma Physical Lens Core node.

Parameters

Amount of Aberration

This value plus one represents the index of refraction applied to blue light. The shader then linearly maps this value down to an index of refraction of 1.0 for red light. For example, a value of 0.2 means the index of refraction is 1.2 for blue light and 1.0 for red light, with a linear gradient in between.

Aberration Ramp

This ramp controls the mapping of aberrations between blue and red light. The left edge of the ramp represents blue light and the right edge represents red light. The vertical axis represents the index of refraction and goes from 1.0 at the bottom to 1.0 + the value of Chromatic Aberration at the top.

Inputs

seed

sampleindex

Outputs

tint

A tint which corresponds to a random wavelength of visible light.

eta

The index of refraction for the corresponding wavelength of visible light. Sampled from the Aberration Ramp.

See also

VOP nodes