How can I export lighting for games?

Anything you want to share!
Post Reply
Rush3fan
Posts: 12
Joined: Thu Mar 11, 2010 5:35 am

How can I export lighting for games?

Post by Rush3fan » Thu Mar 11, 2010 5:50 am

Great!! I can make amazing shadows in my model, only.... What's the point?
I might consider buying this software if I knew how to export the model with the shadows as textures.
Anyone know how??
Or should this be a requested feature?

User avatar
AdamB
Site Admin
Posts: 2297
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: How can I export lighting for games?

Post by AdamB » Thu Mar 11, 2010 7:21 pm

LightUp exports Autodesk FBX files with multi-texture materials - which is typically what lightmapping game engines use.

So depending on your target game engine, you'll need some sort of importer that honors the 2 texture per material that FBX specifies.

Adam
Developer of LightUp http://www.light-up.co.uk

Rush3fan
Posts: 12
Joined: Thu Mar 11, 2010 5:35 am

Re: How can I export lighting for games?

Post by Rush3fan » Thu Mar 11, 2010 9:46 pm

I'm using 3drad which simply can blend 2 .X models together. So I just need 1 model with the lightmaps and none of the existing textures.

User avatar
AdamB
Site Admin
Posts: 2297
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: How can I export lighting for games?

Post by AdamB » Fri Mar 12, 2010 8:46 am

ok, but it will only blend if they have exactly the same topology. If you export one with 1 tool and the lighting with another tool and they happen to triangulate differently, you're out of luck.

I guess we could have a mode in LightUp to export just diffuse textures, and/or just lightmaps..

Where does 3drad get the normalmaps from?
Developer of LightUp http://www.light-up.co.uk

Rush3fan
Posts: 12
Joined: Thu Mar 11, 2010 5:35 am

Re: How can I export lighting for games?

Post by Rush3fan » Fri Mar 12, 2010 4:53 pm

3drad uses one normalmap per model. All you do is replace the defult normalmap with the one you want to use. It's in the skinmesh data file. It tiles on the same co-ordinates as the diffuse map.

...And looks like it does blend with the shadowmaps.
Attachments
NormalmapShadowmap.jpg
NormalmapShadowmap.jpg (178.94 KiB) Viewed 8413 times

Rush3fan
Posts: 12
Joined: Thu Mar 11, 2010 5:35 am

Re: How can I export lighting for games?

Post by Rush3fan » Fri Mar 12, 2010 5:03 pm

I guess we could have a mode in LightUp to export just diffuse textures, and/or just lightmaps..
That would be awesome! :)

Post Reply