Skip to content

Documentation / scene / calculatePhysicalExposure

Function: calculatePhysicalExposure() ​

calculatePhysicalExposure(aperture, shutterSeconds, iso, compensationEV?): number

Defined in: libs/scene/src/utility/physical.ts:81

Calculate the scene-linear exposure multiplier for a photometrically calibrated camera.

Uses the saturation-based calibration commonly used by real-time PBR renderers: 1 / (1.2 * 2 ^ EV100).

Parameters ​

aperture ​

number

shutterSeconds ​

number

iso ​

number

compensationEV? ​

number = 0

Returns ​

number

Released under the MIT License.