Skip to content

Commit

Permalink
fixed(display): ensure Shininess parameter in Wavefront OBJ materials…
Browse files Browse the repository at this point in the history
… correctly affects specular reflections

Signed-off-by: Tim Deubler <tim.deubler@here.com>
  • Loading branch information
TerminalTim committed Aug 30, 2024
1 parent 642fc61 commit 4734079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/display/src/displays/webgl/ObjParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ const worker = function() {
'Kd': 'diffuse',
'Ks': 'specular',
'Ke': 'emissive',
'Ns': 'shininess',
'map_Kd': 'diffuseMap',
'map_Ns': 'specularMap',
'map_Bump': 'normalMap',
Expand Down

0 comments on commit 4734079

Please sign in to comment.