Importing materials
At the same time, we can use all the capabilities that React VR offers with regard to materials. The MTL file, unfortunately, doesn't always have the values possible. If you are using a modern material, that has base color, bump map or normal map, height, specular (shinyness), or metallic (similar to shinyness) maps, I've found that you may need to just hand edit the MTL file.
You would think with the wealth of computer graphics programs out there, that we wouldn't be at this point. Unfortunately, different rendering systems, especially nodal based ones, are too sophisticated for an OBJ exporter to really understand; as a result, typically most MTL files (materials) that go along with an OBJ file have only the base color ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access