Simstim

VEX Dictionary / reflect

reflect

Computes the reflection of a direction vector off a surface normal, for mirror-like shading calculations.

group: shadingshading

Available in every context

Usage

vector reflect(vector direction, vector normal)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗