Public Member Functions | |
ShadingIn () | |
Static Public Member Functions | |
static void | Average (ShadingIn &out, ShadingIn &in1, ShadingIn &in2, ShadingFlags flags) |
Public Attributes | |
TVector3 | fPoint |
Surface point in Global Coordinates. | |
TVector3 | fGNormal |
Surface Normal in Global Coordinates. | |
TVector3 | fPointLoc |
Surface point in Local Coordinates. | |
TVector3 | fNormalLoc |
Surface Normal in Local Coordinates. | |
TVector2 | fUV |
u,v texture values | |
TVector3 | fPointx |
TVector3 | fPointy |
Surface point derivatives in Global Coordinates. | |
TVector3 | fNormalx |
TVector3 | fNormaly |
Surface Normal derivatives in Global Coordinates. | |
TVector2 | fUVx |
TVector2 | fUVy |
texture derivatives | |
TVector3 | fPointLocx |
TVector3 | fPointLocy |
Surface point derivatives in Local Coordinates. | |
TVector3 | fNormalLocx |
TVector3 | fNormalLocy |
Surface Normal derivatives in Local Coordinates. | |
TVector3 | fIsoU |
U iso-parametric vector in Local Coordinates. | |
TVector3 | fIsoV |
V iso-parametric vector in Local Coordinates. | |
uint32 | fUVSpaceID |
UV Space ID; can use UVSpaceID enum. | |
boolean | fBumpOn |
global bump setting | |
EChannelMask | fChannelMask |
bit mask that determines which channel must be evaluated | |
uint32 | fCurrentCompletionMask |
Internal flags for shaders. Must be set to zero before calling DoShade. | |
I3DShInstance * | fInstance |
Used by ShadingMode to calculate bounding Box. | |
const UVSpaceInfo * | fUVInfo |
UV Space information (filled by I3DShInstance::DoShade()). | |
TVector3 | fSurfaceNormalLoc |
normal to the real geometry surface (before smoothing) in Local Coordinates | |
TVector3 | fGSurfaceNormal |
normal to the real geometry surface (before smoothing) in Global Coordinates |
All the information that are passed to a shader for a given point.
ShadingIn::ShadingIn | ( | ) | [inline] |
void ShadingIn::Average | ( | ShadingIn & | out, | |
ShadingIn & | in1, | |||
ShadingIn & | in2, | |||
ShadingFlags | flags | |||
) | [inline, static] |
global bump setting
bit mask that determines which channel must be evaluated
uint32 ShadingIn::fCurrentCompletionMask [mutable] |
Internal flags for shaders. Must be set to zero before calling DoShade.
Surface Normal in Global Coordinates.
normal to the real geometry surface (before smoothing) in Global Coordinates
Used by ShadingMode to calculate bounding Box.
U iso-parametric vector in Local Coordinates.
V iso-parametric vector in Local Coordinates.
Surface Normal in Local Coordinates.
Surface Normal derivatives in Local Coordinates.
Surface Normal derivatives in Global Coordinates.
Surface point in Global Coordinates.
Surface point in Local Coordinates.
Surface point derivatives in Local Coordinates.
Surface point derivatives in Global Coordinates.
normal to the real geometry surface (before smoothing) in Local Coordinates
u,v texture values
const UVSpaceInfo* ShadingIn::fUVInfo |
UV Space information (filled by I3DShInstance::DoShade()).
UV Space ID; can use UVSpaceID enum.
texture derivatives