A one-dimensional texture that simulates a glossy shade.
More...
#include </home/werner/origo/vish/ocean/GLvish/GlossyTexture.hpp>
List of all members.
Classes
Public Member Functions
-
void beginRender (const VCamera &, bool BlendWithColor=false)
- Begin view-dependent setup, this is to be called outside of a display list. Must be followed by a call to endRender().
-
void endRender ()
- Cleanup of settings made by beginRender().
- void enlighten (const color_t &Specular=mkcolor(.5,.5,.5), double shininess=20, const color_t &Diffuse=mkcolor(.4,.4,.4), const color_t &Ambient=mkcolor(.1,.1,.1), double diffusity=4.7)
- Create and setup a 1D texture based on the given parameters.
-
void enlighten (const Parameters &, const RefPtr< ValuePool > &)
- Simplified enlighten() function that makes use of the Parameter bundle provided here.
-
GlossyTexture (int TextureUnit, const WeakPtr< Creature > &Creator=NullPtr())
- Constructor, specify the texture unit on which this texture is to be run.
Detailed Description
A one-dimensional texture that simulates a glossy shade.
Member Function Documentation
void Wizt::GlossyTexture::enlighten |
( |
const color_t & |
Specular = mkcolor(.5,.5,.5) , |
|
|
double |
shininess = 20 , |
|
|
const color_t & |
Diffuse = mkcolor(.4,.4,.4) , |
|
|
const color_t & |
Ambient = mkcolor(.1,.1,.1) , |
|
|
double |
diffusity = 4.7 |
|
) |
| |
The documentation for this class was generated from the following files:
- ocean/GLvish/GlossyTexture.hpp
- ocean/GLvish/GlossyTexture.cpp