KhronosGroup / glTF-Sample-Assets

To store all models and other assets related to glTF
255 stars 30 forks source link

Normals on font geometry in TransmissionThinwallTestGrid.gltf modeled in geometry plane #119

Open droettger opened 2 months ago

droettger commented 2 months ago

Visualizing the world space shading normals inside the TransmissionThinwallTestGrid.gltf model shows that all font geometry has normals which are not consistent with the background planes behind them (color = N * 0.5f + 0.5f): TransmissionThinwallTestGrid_normals The light green means the normals are (0, 1, 0) instead of (0, 0, 1) like on the background planes.

This can result in unexpected lighting results because the core material default for dielectric specular reflections is not black and would handle this view as Fresnel near 90 degrees which should produce unwanted reflections.