Search
Username:
Password:
Register or Reset Password
Remove the ads!
Lightmaps - What they do and How to use them
Difficulty: Intermediate
Category: CS:S > MappingAuthor(s): SGT_kick_ur_ass


Welcome to another one of my mapping tutorials, this tutorial will teach you about how to use Lightmaps.

First of all, what are Lightmaps?

A Lightmap is the light data which is stored on each face of a brush. Lightmaps are used to add some nice shadow effects into the game.

The Lightmap scales are measured by numbers (4,16,64 etc). The lower the number, the better quality, but the bigger the BSP is in the end. The Higher the number, the lower the quality and the smaller the BSP. Lightmap scales also affect Vrad time. The smaller the scale, the longer compiling takes. This is a reason why sometimes adjusting lightmaps help optimize your map.

How to use them

Using Lightmaps is pretty simple, so lets get started.
  1. Open up your map or quickly create a new one.

  2. Free Image Hosting at www.ImageShack.us
  3. Now, open up the Texture Application() Tool and select the face where you want to change the lightmap scale.

  4. Look in the texture application box and you should see in the top right corner, a small box Labeled Lightmap Scale.

  5. Free Image Hosting at www.ImageShack.us

    That is what we are going to edit. You can mess around with the scale now but you won't notice a difference.

  6. In order for you to see a difference, you will need to change a setting in the Camera view of Hammer. Right Click where it says "Camera" on the to left corner and from the drop down list Select 3D Lightmap Grid.

  7. Free Image Hosting at www.ImageShack.us>

    Once you've selected 3D Lightmap Grid you should see that your whole map has changed into something like this:

    Free Image Hosting at www.ImageShack.us

  8. Now, open up the Texture Application Tool and once again select the face which you want to change.

  9. Free Image Hosting at www.ImageShack.us

  10. You can now mess around with the Lightmap scale. You'll notice that as you change the scale, the look of it changes as well. The Higher the scale is the bigger the grid is. The smaller the scale, the smaller the grid.
  11. Here are some examples of the differences in the Scales:
    Scale: 4

    Free Image Hosting at www.ImageShack.us

    Scale: 16

    Free Image Hosting at www.ImageShack.us

    Scale: 64

    Free Image Hosting at www.ImageShack.us

    You should notice that Scale 4 looks the best and Scale 64 looks the worst, it's almost like there is no shadow.

    That is it! You can now mess around with it to your liking. Just remember that the lower the scale, the longer it takes for Vrad to compile.
If you have any questions please do not hesitate to ask me! You can post here or PM me for any questions.

-SGT_kick_ur_ass

Example Map

www.halflifestorm.com
Half Life Storm Studio
Added: 2 years agoTags: lightmaps, lightmap, sgt_kick_ur_ass, lights, mapping, halflifestorm
Feedback (11)
Page of 2   1 2 Next Page
StoneBlood .
BananiteY2M
Posted 7 months ago
Notes: This is a well written and very usefull tutorial because now I am becoming more advanced in mapping I need to know alot more about lighting and shadowing then just placing lights with light spots and light sources.
MinotaurR .
MapsForFunY2M
Posted 1 year ago
Pros: Very interesting and good tutorial + easy to follow and has great exambles and pictures! 10/10, because this one tells you everything you need to know at this point.
Notes: Great job!
- MapsForFun
NeoShroomish .
BannedY2M
Posted 1 year ago
Cool, so lightmaps are basically baked vertex lighting? Interesting.
- Banned
.
I am the antichrist. I am the walrusY2M
Posted 1 year ago
Very good tutorial, I know how hard it is to teach noobs. So well done :D.
.
www.ww-multigaming.deY2M
Posted 2 years ago
Really good tut SGT!!!
sic_666 .
o_O?Y2M
Posted 2 years ago
Pros: Good tut man.. very informative..
Cons: None =D
Improvements: None.
Notes: pretty good might screw with my lightmaps now.
- o_O?
Chillinut .
Thumb me up, plz :)Y2M
Posted 2 years ago
Gj thnx for the nice tut :D
.
NoobY2M
Posted 2 years ago
Awsome. This will be very useful for my mapping :) *adding tut to fav*
- Noob
.
Y2M
Posted 2 years ago
Wow, amazing!
Keysor_Sozer_JR .
Keys unlock many things. ^.^Y2M
Posted 2 years ago
Another professional Tut by SGT.
- Keys unlock many things. ^.^
Page of 2   1 2 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.7/10
bScore
9.7/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Informative & Well Written
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.



Brought to you by...
Half Life Storm
The Mappers Corner!
Membership: On Request
Primary Skills: Compiling, Mapping, Modelling, Motion Graphics, Texturing, UV Mapping
Inception: 3 years ago
Vote for Studio
Like this tut? Vote Half Life Storm for one or more monthly awards.
You must login or register to access this!
Related Tutorials