Houdini 22.0 Nodes Copernicus nodes

Height to Ambient Occlusion Copernicus node

Imagines a sphere for each pixel and determines how occluded that sphere is based on its surroundings.

On this page

For each pixel, this node imagines a sphere and then determines how occluded that sphere is based on the height values of its neighboring pixels. For example, if you're standing on pixel (450, 450) and that pixel’s in a valley with mountains around it, the sphere is occluded because the mountains block the sun’s rays.

Before and after using the Height to Ambient Occlusion node.

The Height to Ambient Occlusion node is useful for shading and texture synthesis. You can use this node to create an ambient occlusion map for a material or as a mask to perform other operations. For example, use this node to add dirt to your material and use the ambient occlusion map to determine where the dirt lies.

Note

This node is based on the HeightField Mask by Occlusion geometry node.

Parameters

Height

Height Scale

The scale applied to input height values before computing ambient occlusion. Increasing the scale exaggerates the amount of occlusion, which enables small variations in height to appear more pronounced.

Quality

Space

The space used to interpret the height’s steepness.

View Radius

The distance (in the given Space) to send rays to determine if a pixel’s occluded. Higher values increase the distance you send the rays and provide more accurate measurements, but may slow cooking. Lower values decrease the distance you send the rays.

Step Scale

How many steps (in buffer space) to take along the rays to determine if a pixel’s occluded. Higher values create less steps and therefore cook faster, but may miss thin features since the steps are more spread out. Lower values create more steps, which are closer together.

Sample Count

The amount of rays to send to determine if a pixel’s occluded. Higher values increase the amount of rays sent and provide more accurate measurements, but may slow cooking. Lower values decrease the amount of rays sent.

Sample from Hemisphere

Divides the point’s calculated angle by 90 degrees instead of 180 degrees.

Remap Ramp

Remaps the output ambient occlusion values.

For more information about using ramps, see Ramp parameters.

Inputs

layer

The original height layer from which to calculate the ambient occlusion.

Outputs

occlusion

The ambient occlusion layer.

Copernicus nodes