HI
I don't understand how does work SetObjectLightMap().
I have tried :
lightmap = loadimage("lightmap.png")
SetObjectImage(1,diffuse,0)
SetObjectLightMap(1,lightmap)
But my lightmap doesn't appear.
If I use only the lightmap image as normal image, it works.
How can I use my lightmap ? Have the Uv of my model to be special ?
EDIT :
ok, I have resolve this issue; it's the export from blender : the obj doesn't export all the uv chanels.
To have all the uvchannels exported with blender, we need to use the collada exporter (.dae), not the obj.
http://www.dracaena-studio.com