This was caused by the normals not being available (default to `vec3(0)`) which produced `NaN`s down the line after the unsafe normalize. Changing to `safe_normalize` fixes the issue.
This was caused by the normals not being available (default to `vec3(0)`) which produced `NaN`s down the line after the unsafe normalize. Changing to `safe_normalize` fixes the issue.