loading normal maps spec maps etc
loading normal maps spec maps etc
how do i load normal maps specular maps and diffuse maps and color maps in irrlicht?
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
if you set a material texture by setMaterialTexture(..) you implicitly load a diffuse map....to see it just call setMaterialFlag() with video::EMT_SOLID flag, as for the normal map, take a look to perPixelLightning example... as for the lighmap, irrlicht can load 2 textures at one mesh, sooo, a tried load a diffuse and lightmap, but there is no function like "createMeshWithLightmap()" so I can't seem to figure that out
what is this thing...
-
- Posts: 370
- Joined: Mon Aug 29, 2005 10:54 pm
- Location: http://web.utk.edu/~pfox1
I think there are some extra functions you need to call to make normal maps, alpha maps, etc... check the driver class and the mesh manipulator class, they have some extra functions that deal with lightmaps etc....
Sorry I can't be more help, I haven't gotten to this myself yet but I got my eye on it.
Sorry I can't be more help, I haven't gotten to this myself yet but I got my eye on it.