Bug: Light Map glitches

From Dragon Age Toolset Wiki
Jump to: navigation, search
  • Version found: 1.0.982.19
  • Status: Open

Description

After light maps have been rendered, they may contain obvious glitches (e.g. dark triangles, shadows from models that have been deleted, severe brightness / darkness issues etc).

This may be related in part to the hard-coding of "single player" in part of the resource processing pipeline, which has already been identified as a bug affecting water planes.

However, that's probably not the whole story, because deleting the old erf file can improve the results, too (and makes the rendering process much faster).


There are numerous bugs and glitches with the currently available eclipseray 1.2 as you can read at the appropriate threads. e.g.:

Bugs

  • black spots randomly placed at the lightmaps around tesselation borders
  • shiny blue shade at certain models
  • bugged and therefore corrupted lightmap of a chunk if more than one static/animated light lits it
  • wrong calculated intensity value of baked lights
  • alpha maps are not rendered correctly -> spider webs drop a shadow but they should not do so
  • light probes are not rendered correctly -> they all show the same mirrored texture

There is no workaround for any of the glitches! The dark triangles are directly connected with tesselation borders. If you tesselate your mesh the triangles will wander around the new border where the high resolution grid hits the low resolution grid.

Workarounds

Most lighting bugs seem to go away if you

  • Delete any erf files for the level (you may need to close the toolset first)
  • Delete Windows temporary files
  • In (Documents)\Bioware\Dragon Age\Toolset, delete all files from subfolders LvlWorkspace, ProbeLightMaps and resourcepostintermediateWin32
  • Switch to the Single Player campaign in the toolset (File > Manage Modules)
  • Open your level and do all the rendering and posting in Single Player
  • Delete the old level folder from AddIns > [module] > core > override > toolsetexport
  • Move the folder you just made in packages > core > override > toolsetexport to that Addins location
  • Reopen your module (File > Manage Modules)

If you get a "failed to load" error in Single Player, your level may contain an unnecessary custom object, such as a test creature.

Routine file deletion (mentioned above) can be done at a stroke using free configurable tools such as CCleaner.