Game Development Community

Merging lightmap and diffusemap

by Marcus L · in Artist Corner · 07/02/2010 (8:25 am) · 1 replies

Umm, well, I'm currently trying out prueLIGHT and I've come across a problem. PureLIGHT exports lightmap/tone maps to work with torque, unfortunately, using lightmap/tone maps makes the material unaffected by lights. Now this is a problem because I'm using flashlights.

Since I came across this issue, i used a minute to think how a commercial developer would've come across this issue... And i believe merging light/tone-maps with the diffuse map is the ultimate solution.

Can anyone help me on figuring how to merge diffuse and lightmaps, or maybe an alternative solution?

EIDT: I'm pretty sure this should work since the engines does it.

EDIT2: When come to think of it, i might face another problem... I'll do some thinking and leave a comment when i figure it out. brb.

Thanks,
Marcus L.

#1
07/05/2010 (10:16 am)
Ok, so just realized that lights are actually affecting lightmapped materials, only not in BL. Therefore i posted a thread at the T3D private forums to get some help on this.