VEX Dictionary / photonmap
photonmap
Samples irradiance color, and optionally surface area, from a stored photon map near a given position and normal.
group: ptcloudphotontextureptcloud
Available in every context
Usage
vector photonmap(string mapname, vector position, vector normal, ...)
void photonmap(string mapname, vector position, vector normal, vector &color, float &area, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
vector photonmap(string, vector, vector, ...)all contextsvoid photonmap(string, vector, vector, vector &, float &, ...)all contexts