Inheritance diagram for osgUtil::ReflectionMapGenerator:
Public Member Functions | |
ReflectionMapGenerator (int texture_size=64) | |
ReflectionMapGenerator (const ReflectionMapGenerator ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Protected Member Functions | |
virtual | ~ReflectionMapGenerator () |
ReflectionMapGenerator & | operator= (const ReflectionMapGenerator &) |
virtual osg::Vec4 | compute_color (const osg::Vec3 &R) const |
Override this method to define how colors are computed. |
It performs a direct association between reflection vector and RGBA color (C = R).
|
|
|
|
|
|
|
Override this method to define how colors are computed. The parameter R is the reflection vector, pointing from the center of the cube. The return value should be the RGBA color associated with that reflection ray. Implements osgUtil::CubeMapGenerator. |
|
|