Online3DViewer icon indicating copy to clipboard operation
Online3DViewer copied to clipboard

OBJ Specular map support

Open zen253230 opened this issue 1 year ago • 2 comments

There is unluckily no support for obj specular map.

map_Ns is not interpreted in the mtl parser while loading obj file.

The only alternative would be to define materials but when there are too many of them it implies unnecessary drawcalls in comparison with texture loading...

zen253230 avatar Apr 07 '23 15:04 zen253230

Could you please attach the file?

kovacsv avatar Apr 08 '23 19:04 kovacsv

Files are located at: https://github.com/gfxfundamentals/webgl-fundamentals/tree/master/webgl/resources/models/windmill

Clearly there is no specular lighting taken into account

zen253230 avatar Apr 11 '23 08:04 zen253230