Public Member Functions | |
RefractionIO () | |
Public Attributes | |
TMCColorRGBA | fResColor |
result color | |
boolean | fGotColor |
true if there was a reflection | |
boolean | fNormalFlipped |
true if the normal was flipped | |
real | fDistance |
the distance to the nearest intersection (used for absorption) | |
TVector3 | fRefractedDir |
direction of the refracted ray (normalized) | |
const TTransparencyParameters * | fTransparencyParams |
the parameters from the transparency shader | |
real | fRefractiveIndex |
index of refraction | |
real | fAttenuation |
attenutation due to shading |
The parameters of the refraction feature.
RefractionIO::RefractionIO | ( | ) | [inline] |
attenutation due to shading
the distance to the nearest intersection (used for absorption)
true if there was a reflection
true if the normal was flipped
direction of the refracted ray (normalized)
index of refraction
result color
the parameters from the transparency shader