I have simple plane with green color material.
In irrlicht code, I set texture to some image:
node->setMaterialTexture(0,driver->getTexture("media/terrain/texture.jpg"));
resulting plane has material colors combined with texture.
How to have Texture colors only?
Texture combine color with material
The diffuse color of your object is :
VertexColor * TextureColor * diffuseFactor.
So if you want your object to be the same color as the texture, the material color have to be full white (0xffffff).
I guess if you set a green color material, without any texture, lighting off, the mesh will appear just green.
VertexColor * TextureColor * diffuseFactor.
So if you want your object to be the same color as the texture, the material color have to be full white (0xffffff).
I guess if you set a green color material, without any texture, lighting off, the mesh will appear just green.