#include <LightMapRenderingRun.h>
Inheritance diagram for LightMapRenderingRun:
Public Member Functions | |
LightMapRenderingRun (unsigned int width, unsigned int height, unsigned char numberOfMipmapLevels, unsigned int lod, Entity *entity) | |
~StochasticRadiosityRun () | |
void | setIterations (unsigned int iterations) |
Sets the number of iterations. | |
unsigned int | getIterations (void) |
Sets the number of iterations. | |
const String & | getResultTextureName () |
void | update () |
void | initialRendering () |
void | iterate () |
|
Constructor.
|
|
Destructor. |
|
Sets the number of iterations.
|
|
Reimplemented from PreComputingRun. |
|
Renders initial visibility and emission into their respective textures. |
|
Iteration to calculate lightmap. Generates mipmaps, chooses a shooter then calculates visibility and radiosity for all 5 shooter hemicube sides. Finally it averages the current radiosity with the one calculated from the shooter. |
|
Sets the number of iterations.
|
|
Implements PreComputingRun. |