Support Forum G3D Web Page |
Shader program. More...
Public Member Functions | |
void | UniversalMaterial_shade (UniversalMaterialSample materialSample, Point3 wsEyePos, Point3 csPosition, Vector3 csNormal, out Radiance3 L_o, out Color3 transmissionCoefficient, const bool unblendedPass, const bool inferAmbientOcclusionAtTransparentPixels, const bool hasTransmissive, const bool hasRefraction) |
If ambientOcclusion_notNull is defined, assumes the following globals are bound: ambientOcclusion_buffer ambientOcclusion_offset ambientOcclusion_size depthBuffer clipInfo More... | |
Shader program.
|
inline |
If ambientOcclusion_notNull is defined, assumes the following globals are bound: ambientOcclusion_buffer ambientOcclusion_offset ambientOcclusion_size depthBuffer clipInfo
Also assumes the following globals are bound: background backgroundMinCoord backgroundMaxCoord backSizeMeters backgroundZ