Home Reference VEX VEX functions 

cone vex function

Context: surface

Tags: pbr, shading

  1. bsdf cone(vector dir, float angle)

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.

  • dir – the direction of specularity.

  • angle – cone angle in radians.