Support Forum G3D Web Page |
Shader program. More...
Public Member Functions | |
vec4 | reverseReprojection (vec2 currentScreenCoord, vec3 currentWSPosition, vec2 ssVelocity, sampler2D previousBuffer, sampler2D previousDepthBuffer, vec2 inverseBufferSize, vec3 clipInfo, vec4 projInfo, mat4x3 previousCameraToWorld, out float distance) |
Requires previousBuffer and previousDepthBuffer to be the same size as the output buffer. More... | |
vec4 | reverseReprojection (vec2 currentScreenCoord, sampler2D depthBuffer, sampler2D ssVelocityBuffer, vec2 ssVReadMultiplyFirst, vec2 ssVReadAddSecond, sampler2D previousBuffer, sampler2D previousDepthBuffer, vec2 inverseBufferSize, vec3 clipInfo, vec4 projInfo, mat4x3 cameraToWorld, mat4x3 previousCameraToWorld, out float distance) |
Requires all input buffers to be the same size as the output buffer. More... | |
vec4 | twoLayerReverseReprojection (vec2 currentScreenCoord, vec3 currentWSPosition, vec2 ssVelocity, sampler2D previousBuffer, sampler2D previousDepthBuffer, sampler2D peeledPreviousBuffer, sampler2D peeledPreviousDepthBuffer, vec2 inverseBufferSize, vec3 clipInfo, vec4 projInfo, mat4x3 previousCameraToWorld, out float distance) |
Requires all input buffers to be the same size as the output buffer. More... | |
vec4 | twoLayerReverseReprojection (vec2 currentScreenCoord, sampler2D depthBuffer, sampler2D ssVelocityBuffer, vec2 ssVReadMultiplyFirst, vec2 ssVReadAddSecond, sampler2D previousBuffer, vec2 previousBufferInverseSize, sampler2D previousDepthBuffer, sampler2D peeledPreviousBuffer, sampler2D peeledPreviousDepthBuffer, vec2 inverseBufferSize, vec3 clipInfo, vec4 projInfo, mat4x3 cameraToWorld, mat4x3 previousCameraToWorld, out float distance) |
Requires all input buffers to be the same size as the output buffer. More... | |
Shader program.
|
inline |
Requires previousBuffer and previousDepthBuffer to be the same size as the output buffer.
Returns the reverse-reprojected value, and sets distance to the WS distance from the expected WS reverse-reprojected position and the actual value.
|
inline |
Requires all input buffers to be the same size as the output buffer.
Returns the reverse-reprojected value from the closest layer, and sets distance to the WS distance from the expected WS reverse-reprojected position and the actual value.
|
inline |
Requires all input buffers to be the same size as the output buffer.
Returns the reverse-reprojected value from the closest layer, and sets distance to the WS distance from the expected WS reverse-reprojected position and the actual value .
|
inline |
Requires all input buffers to be the same size as the output buffer.
Returns the reverse-reprojected value, and sets distance to the WS distance from the expected WS reverse-reprojected position and the actual value.