Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 09-03-2007 , 05:50 PM
tvholicjames's Avatar
Subscriber
Join Date: Sep 2002
Location: Connecticut
Posts: 188

How do you make Light Maps for the game environment?

Hi,

I was trying to make a lightmap to have a shadow on the ground but it looked so blotchy.

The scene has a ground, houses, 3 walls. I used 4 directional lights, made a new uv set for the ground in a grid of 0 and 1 so that ground has at least 2 uvs.

1) What is the best way to make shadows on the ground for games using Maya?

I also vertex color the scene to replace the lightmap that I couldn't make properly, but it looked awful.

2) In a game, are all the objects supposed to have even lights?

Please let me know.

Thanks.

# 2 10-03-2007 , 02:04 PM
R-Tillery's Avatar
Subscriber
Join Date: May 2003
Location: Ventura California
Posts: 966
Are you baking the textures before you export? user added image

# 3 10-03-2007 , 03:19 PM
publicFunction's Avatar
Senior Software Developer
Join Date: Jan 2005
Location: Livingston, Scotland
Posts: 1,701
Baking Textures only bakes teture information, not lighting information. Most good game engines should supply lighting ingame. There really should be no need to export lighting. Its the game engine that matters. Research what technical specs the engine provides to know what you do and don't need.


Chris (formerly R@nSiD)
Twitter
When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix
Winner SM VFX Challenge 1
3rd Place SM SteamPunk Challenge (May 2007)
# 4 10-03-2007 , 06:29 PM
R-Tillery's Avatar
Subscriber
Join Date: May 2003
Location: Ventura California
Posts: 966
I disagree. A light Map is a Gray scale from light Gray to dark, you have to bake it onto a plane to transfer the data to any game engine. To ad a shadow to the gray you would have to use any thing but Black gray or white and then bake it into the plane. it may not be the industry way but it works for me.

# 5 12-03-2007 , 04:30 PM
tvholicjames's Avatar
Subscriber
Join Date: Sep 2002
Location: Connecticut
Posts: 188
Lighting in Unreal Editor is much easier than Maya. I know making a light map is a long process without using Mental Ray.

If there are tutorials out there for game environments especially about lighting in a game, please let me know. I would be forever greatful. Thanks all.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads