Skip to content

cone

bsdf  cone(vector normal, vector dir, float angle, ...)

Returns a bsdf representing a cone reflection along a given direction vector. This BSDF is constant within the given angle, producing a similar result to the gather or irradiance loops.

bsdf  cone(vector dir, float angle, ...)

In shading contexts, fills in the current surface normal automatically.

normal

The surface normal direction.

dir

The direction of specularity.

angle

Cone angle in radians.