Houdini 11 VEX VEX functions

Returns an approximation to the contribution of the ray to the final pixel color.

  1. float getrayweight()

Returns an approximation to the contribution of the ray to the final pixel color. Often, this is a better metric for judging contribution to the final pixel color than getraylevel. However, this relies on prior shaders giving good estimates on the contribution to their shading (see reflectlight).

Contexts: displace, fog, light, photon, shadow, surface