Looking at the OBJ loader, I see that the map_d texture is assigned to the first slot. This is not very helpful as the map_d texture is a B&W transparency (alpha) texture. By assigning it to the first slot (diffuse or albedo) the base colour is overwritten. So instead of seeing transparent_add_colour, we see a transparent_add_black! I'm just wondering if we can have it assigned to slot 3. Then we could have
texture0: diffuse
texture1: normal/bump
texture2: transparency
texture3: reflection.
map_d in OBJ files
Re: map_d in OBJ files
Can't say much without going over the format documentation. But moved the thread to the bug report forum so it stays a little bit more visible. If I ever find time again to continue working on the other .obj and .mtl bugs I take a look at it again (there is http://irrlicht.sourceforge.net/forum/v ... =7&t=48090 - and while working on that once I found further problems).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm