Support Forum G3D Web Page |
Public Member Functions | |
float | sampleAO (vec2 coord, sampler2D ambientOcclusion_buffer, ivec2 ambientOcclusion_offset, ivec2 ambientOcclusion_size, sampler2D depthBuffer, Point3 csPosition, float3 clipInfo, vec2 coverageGradient, const bool unblendedPass, const bool inferAmbientOcclusionAtTransparentPixels, const bool hasTransmissive) |
float2 | sampleNeighborAO (ivec2 coord, sampler2D ambientOcclusion_buffer, ivec2 ambientOcclusion_offset, ivec2 ambientOcclusion_size, sampler2D depthBuffer, float myZ, float3 clipInfo) |
Used for inferred AO. More... | |
|
inline |
|
inline |
Used for inferred AO.
Returns weighted AO, weight based on depth locality