Light Conversion#

Light Conversion allows you to control how game lights are translated into Path Tracing compatible physical light sources in the Remix Toolkit.

LightConversion

Ref

Option

RTX Option

Default Value

Description

1

Least Squares Intensity Calculation Checkbox

rtx.calculateLightIntensityUsingLeastSquares

Checked

Enable usage of least squares for approximating a light’s falloff curve rather than a more basic single point approach. This will generally result in more accurate matching of the original application’s custom light attenuation curves, especially with non physically based linear-style attenuation.

2

Sphere Light Fixed Radius

rtx.lightConversionSphereLightFixedRadius

4

The fixed radius in world units to use for legacy lights converted to sphere lights (currently point and spot lights will convert to sphere lights). Use caution with large light radii as many legacy lights will be placed close to geometry and intersect it, causing suboptimal light sampling performance or other visual artifacts (lights clipping through walls, etc).

3

Distant Light Fixed Intensity

rtx.lightConversionDistantLightFixedIntensity

1

The fixed intensity (in W/sr) to use for legacy lights converted to distant lights (currently directional lights will convert to distant lights).

4

Distant Light Fixed Angle

rtx.lightConversionDistantLightFixedAngle

0.0349

The angular size in radiance of the distant light source for legacy lights converted to distant lights. Set to ~2 degrees in radians by default.

5

Equality Distance Threshold

rtx.lightConversionEqualityDistanceThreshold

0.05

The upper distance threshold between two positions is used to determine if two positional lights are the same light when uniquely identifying legacy lights for conversion.

6

Equality Direction Threshold

rtx.lightConversionEqualityDirectionThreshold

0.99

The lower cosine angle threshold between two directions is used to determine if two directional lights are the same light when uniquely identifying legacy lights for conversion.


Need to leave feedback about the RTX Remix Documentation? Click here