ProceduralShader Class Reference

#include <ProceduralShader.h>

Inherits Shader.

Inherited by CloudShader, and WoodShader.

Inheritance diagram for ProceduralShader:

Inheritance graph
[legend]
Collaboration diagram for ProceduralShader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ProceduralShader (Scene *scene, float persistence, float frequency, int octaves)

Protected Attributes

PerlinNoise mPerlin
 Perlin noise generator.

Detailed Description

A base shader for procedural shaders, provides calculation facilities

Author:
Christian Engels

Definition at line 13 of file ProceduralShader.h.


Constructor & Destructor Documentation

ProceduralShader::ProceduralShader ( Scene scene,
float  persistence,
float  frequency,
int  octaves 
) [inline]

Constructor and setting the values for mPerlin

Definition at line 18 of file ProceduralShader.h.


Member Data Documentation

PerlinNoise ProceduralShader::mPerlin [protected]

Perlin noise generator.

Definition at line 26 of file ProceduralShader.h.

Referenced by WoodShader::shade(), and CloudShader::shade().


The documentation for this class was generated from the following file:
Generated on Fri Feb 1 00:02:24 2008 for Grayfall by  doxygen 1.5.1