Simstim

VEX Dictionary / split_bsdf

split_bsdf

Breaks a BSDF apart into its individual lobes and their sampling weights, filtered by bounce type.

group: bsdfpbrbsdfsampling

Available in every context

Usage

void split_bsdf(bsdf &lobes[], bsdf source, float &weights[])
void split_bsdf(bsdf &lobes[]; bsdf source; float &weights[]; int mask)
void split_bsdf(bsdf &lobes[], bsdf source, float &weights[], int mask, int type)
void split_bsdf(bsdf &lobes[], bsdf source, float &weights[], int mask, int type, float u)
void split_bsdf(bsdf &lobes[], bsdf source, float &weights[], int mask, int type, float u, float cdf[])

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗