Irrlicht says, SMeshBufferLightMap is a "Simple implementation of the IMeshBuffer interface with S3DVertex2TCoords vertices.".
Now my file reader shall load lightmaps additional to my textures. Until Now, I used SMeshBuffer. Shall I store the textures in SMeshBufferLightMap, too, now?
Or is the SMeshBufferLightMap only for Lightmap stuff?
I always thought it has two vertex coords because one would be for textures and one for lightmaps. I am asking because the CIrrMeshFileLoader uses THREE kinds of buffers at the same time:
Code: Select all
SMeshBuffer* sbuffer1 = 0;
SMeshBufferLightMap* sbuffer2 = 0;
SMeshBufferTangents* sbuffer3 = 0;
Lo