Open main menu

CDOT Wiki β

Changes

User:Akopytov

61 bytes added, 12:16, 9 April 2011
no edit summary
== Lighting ==
*Instructions to incorporate advanced lighting into your game:<br />
*Download the full working solution here:<br />*OR<br />*Download just the files that have changes relevant to lighting here:<br />
*Copy from the files or manually code the following:<br />
*Configuration.h<br />*Increase the MAX_STR_ARRAYS macro by 1 (Line 46)<br />*Add two more elements to the Integer enum: GF_NO_ALGS and GF_DF_ALGO (Lines 88, 89)<br />*Add an element to the StrArray enum: GF_LITDESC (Line 127)<br />*Create a macro called LIGHT_DESCRIPTIONS (Line 331)<br />*Create an enum called LightAlgorithm (Line 389)<br /> Context.cpp<br />
*Context.cpp
************************ Lighting Documentation v1.00 ************************
1
edit