Description:
When objects with vertex normals containing f32::NaN values are rendered, the object appears completely dark when lighting is enabled. This can make it difficult to identify and troubleshoot issues with objects that have incorrect vertex normals.
Steps to reproduce:
Setup and initialize LightManager as usual
Create an object with vertex normals containing f32::NaN values.
Expected result:
The object should be rendered with appropriate lighting.
Actual result:
The object appears completely dark, indicating that lighting is not being applied correctly.
Description:
When objects with vertex normals containing
f32::NaNvalues are rendered, the object appears completely dark when lighting is enabled. This can make it difficult to identify and troubleshoot issues with objects that have incorrect vertex normals.Steps to reproduce:
Expected result:
Actual result: