From DeleDWiki

Jump to: navigation, search
There is a tutorial available about this topic.
DeleD Interface
Simple scene
Simple scene
Simple scene, lightmapped
Simple scene, lightmapped

The DeleD Lightmapper is used to introduce light and shadow into your scenes. The lightmap is stored in a separate texture layer that is superimposed onto your scene, bringing it to life. Lightmaps are generated by going to Menu:Edit:Generate Lightmaps


Light Types

  • Ambient - Ambient light simulates the light that is scattered all over your scene. This type of light does not come from any specific source, and it lights each surface evenly, with the same intensity, no matter what it's orientation. (Unfortunately, scene ambient light currently does not work correctly in DeleD.)
  • Point - A point light is a light source that shines from a infinitely small point in space, and shines out equally in all directions, creating the effect of a 'ball of light'. This is very useful for emulating any type of light source which can shine in all directions.
  • Spot - A spot light is a light source that shines from a infinitely small point in space, but only in a specific direction. Like a spotlight in real life, it will shine a cone of light. This is very effective for emulating many man made light sources.
  • Directional - A directional is a light source that shines from a infinitely far away point in space, and in one constant direction. A directional light will shine light over the entirety of your scene. It is effective for emulating natural light sources, such as the sun or moon.

Lightmapper Options

These are selected by going to Menu:View:Options:Lightmapper

  • Lightmap Size - This affects the size of the texture files generated by the light mapper. Each texture file will contain several individual textures set by the following options.
  • Individual Texture Minimum Size - This will set the smallest size that any polygon can use for it's texture. The selection ranges from 8x8 to 512x512.
  • Individual Texture Maximum Size Size - This will set the largest size that any polygon can use for it's texture. The selection ranges from 8x8 to 512x512.
  • Number of (Blur) Filter Passes - The number of passes that the lightmapper will do over each texture as it is generated. This will give shadows a nice smooth appearance.
  • Generate Shadows - This option toggles whether or not any shadows will be generated.
  • Consider Non Selected Objects - If this option is not selected, only objects that are in your selection when you generate lightmaps will generate shadows.
  • Bake Scene Ambient Into Lightmap - Broken for 4 years. Leave it off. ;)
  • Normal Auto Smooth Crease Angle - This will set the angle that 2 adjacent faces must have before the lightmapper will make a crease between them. The larger this angle, the more objects will appear smooth.
  • Lightmap File Format - This will toggle which file format the lightmap textures are saved as. Your choices are BMP, JPG, and TGA.

Total Lightmap Size

The total size of your lightmap is determined by two factors

  • Total number of polygons
  • Individual Texture Minimum & Maximum Size

DeleD uses a dynamic algorithm to determine the best size for each individual texture, interpolating between the minimum and maximum size, depending on polygon size. Combined with the texture filtering, this allows for much better-looking lightmaps at a much smaller size. As a generic rule, a nice default setup for the lightmap settings is:

  • Lightmap Size: 1024x1024 pixels
  • Individual Texture Minimum Size: 8x8
  • Individual Texture Maximum Size: 128x128
  • Number of (Blur) Filter Passes: 2
  • Normal Auto Smooth Crease Angle: 66


Directional Light
Directional Light
Personal tools