Max:Lightmaps

Revision as of 14:10, 14 May 2012 by Lyrositor (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Disambig gray.png

This is a tutorial page.Versions available: PyPRP; 3ds Max; Korman.
 
The final result as seen in-game.
Lightmaps are used to show light splashes (like you would see from a spot light) or for defining shadows better. You can use them just about everywhere, but keep in mind that they can bloat your texture PRP. Cyan kept the number they used of these to a minimum, and limited them to interior places. For larger areas, you might want to consider using Vertex Painting to define your shadows better.

Prerequisites

Tutorials

You need to be familiar with Plasma's lighting system and the Plasma plugin.

Getting Started

Sample Lighting Setup
  1. You need to setup your lights that will be producing the light splashes and shadows. Directional lights work best, but you can use any Max Standard light. Don't use Plasma Run Time lights for these because they are only used for lighting the avatar.
  2. Go to their Modification Tab. Adjust the light to your tastes.
  3. Set the map size to the same size as the actual textures being used on the object.
  4. Select the object that the lightmap is going to be on (in this case it's a floor). In the Modifier Tab, add another Unwrap UVW modifier make sure you set this one to channel 2.. Do not use the one you put in to UV map your texture - This will need to be a 2nd UV channel in the rollouts.
  5. Open the UV Editor and remap the 2nd channel so that all the faces lay inside the single texture tile. Make sure all the faces are inside the blue box.
  6. Go to the Component Manager and click on New->Render->Lightmap and assign it to the object.
  7. In the rollout, make sure you change the UVW Mapping channel to 2.

Now, if you want you can use the F10 key and do a quick render and see how it is turning out. Once you export, you can link in your Age and see how the end result looks.