|
LightWrap++
AC++wrapperfortheLightWave3DSDK
|
A base clasee for shaders that evaluate depending on light samples. More...
#include <nodes.h>
Collaboration diagram for lwpp::ShadingEvaluator:Public Member Functions | |
| lwpp::Vector3d | GetShading () const |
| virtual int | operator() (LWItemID light, const LWDVector lightDir, const LWDVector lightColour)=0 |
| void | setValue (lwpp::NodeHandler *node, NodeValue value) |
Protected Attributes | |
| lwpp::Vector3d | colour |
A base clasee for shaders that evaluate depending on light samples.
|
inline |
|
pure virtual |
Perform shading here This function is called once for every sample for the current light I suppose the return value is 1 if the spot is lit, 0 otherwise
| void lwpp::ShadingEvaluator::setValue | ( | lwpp::NodeHandler * | node, |
| NodeValue | value | ||
| ) |
|
protected |