torque Torque Game Engine Documentation
TGE Version 1.5.2

sgTerrainLightMap Class Reference

#include <sgLightMap.h>

Inheritance diagram for sgTerrainLightMap:

Inheritance graph
[legend]

Detailed Description

Used to generate terrain light maps.


Public Member Functions

 sgTerrainLightMap (U32 width, U32 height, TerrainBlock *terrain)
void sgMergeLighting (ColorF *lightmap)
virtual void sgCalculateLighting (LightInfo *light)
 See: sgLightMap::sgGetBoundingBox.

Data Fields

TerrainBlocksgTerrain


Constructor & Destructor Documentation

sgTerrainLightMap::sgTerrainLightMap ( U32  width,
U32  height,
TerrainBlock terrain 
) [inline]


Member Function Documentation

void sgTerrainLightMap::sgMergeLighting ( ColorF lightmap  ) 

virtual void sgTerrainLightMap::sgCalculateLighting ( LightInfo light  )  [virtual]

See: sgLightMap::sgGetBoundingBox.

Implements sgLightMap.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen