KhronosGroup / KhronosGroup/glTF-Sample-Assets

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

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
107
Avg merge
9h 39m
Merged PRs (30d)
4

Description

Visualizing the world space shading normals inside the [TransmissionThinwallTestGrid.gltf](https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/TransmissionThinwallTestGrid) 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](https://github.com/KhronosGroup/glTF-Sample-Assets/assets/7803175/1cccb67a-bc13-492f-b50f-9a248d2d53f0)
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.

Contributor guide

Open the contributing guide

Research direction

Inspect TransmissionThinwallTestGrid.gltf and compare the font geometry normals with the background plane normals in a viewer that displays world-space normals. Determine how the asset's font geometry was modeled and correct the normals so they match the background planes. Done means the font and background normals are consistent and the reported unwanted Fresnel lighting behavior is no longer present.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.