RTXDI icon indicating copy to clipboard operation
RTXDI copied to clipboard

Fix spot lights imported from glTF files.

Open dasmysh opened this issue 1 year ago • 0 comments

Spot lights currently only work correctly if they have a non-zero radius. When exported from glTF they always have a radius of 0.0f (non-point shapes are not supported there). This PR adds some code to correctly handle spot lights with zero radius (similar to point lights with zero radius).

dasmysh avatar Jun 20 '23 11:06 dasmysh