Simstim

VEX Dictionary / refractlight

refractlight

Traces refracted light through a surface and writes the resulting color, opacity, and alpha for transparency shading.

group: shadingsurface

Available in displace, fog, light, shadow, surface

Usage

void refractlight(vector &cf, vector &of, float &af, vector P, vector D, float bias, float max_contrib, ...)
void refractlight(vector &cf, vector &of, float &af, vector P, vector N, vector I, float eta, float bias, float max_contrib, ...)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗