Rebel Fork Framework
|
Material of raytracing geometry. More...
#include <Urho3D/Glow/RaytracerScene.h>
Public Member Functions | |
Vector2 | ConvertUV (const Vector2 &uv) const |
Return transformed UV coordinates. | |
Color | SampleDiffuse (const Vector2 &uv) const |
Return diffuse value at UV. | |
Public Attributes | |
bool | opaque_ {} |
Whether the material is opaque. | |
Vector3 | diffuseColor_ {} |
Diffuse color. | |
float | alpha_ {} |
Alpha value. | |
bool | storeUV_ {} |
Whether to store main texture UV. | |
Vector4 | uOffset_ |
Transform for U coordinate. | |
Vector4 | vOffset_ |
Transform for V coordinate. | |
ea::string | diffuseImageName_ |
Resource name of diffuse image. | |
SharedPtr< Image > | diffuseImage_ |
Diffuse image. | |
int | diffuseImageWidth_ {} |
Diffuse image width. | |
int | diffuseImageHeight_ {} |
Diffuse image height. | |
Material of raytracing geometry.