RTXDI
RTXDI copied to clipboard
Fix spot lights imported from glTF files.
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).