RenderLight

From Mod Wiki
Revision as of 13:26, 17 October 2007 by MoP (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RenderLight bakes lighting into a set of diffuse tiles outputted from MegaGen, based on the map's atmosphere settings and using the local normal-map tiles to bake in accurate fine detail.

RenderLight will try to use all tiles that sit in a folder. If you compile a large MegaTexture and a lower res one after, make sure to clean out the old tiles first!

  • The output files can be found in the base game folder, under megatextures/<mapname>_lit_x_y.tga

Options

  • Bake lighting - adds in the sunlight contribution to the output
    • same as -preMulLighting on the command line
  • Bake ambient - adds in the ambient light color to the output
    • same as -preMulAmbient on the command line