Cosine-Weighted Hemisphere Sampling

Shared Foundations · Sampling · cosine-weighted-hemisphere.yaml

Samples directions with density proportional to the cosine of the angle from the normal, cancelling the geometry term in the rendering equation exactly.

Colour is the family; a dashed line is the second member of it.

Drag to pan · scroll to zoom · click a node to open it
G cosine-weighted-hemisphere Cosine-Weighted Hemisphere Sampling importance-sampling Importance Sampling cosine-weighted-hemisphere->importance-sampling cancels the cosine factor in the integrand exactly

This node

References