|
|
|
|
|
|
float3 positionWS; // World space position (could be camera-relative) |
|
|
|
float2 positionNDC; // Normalized screen UVs : [0, 1) (with the half-pixel offset) |
|
|
|
uint2 positionSS; // Screen space pixel coordinates : [0, NumPixels) |
|
|
|
uint2 tileCoord; // Screen space tile coordinates : [0, NumTiles) |
|
|
|
uint2 tileCoord; // Screen tile coordinates : [0, NumTiles) |
|
|
|
float deviceDepth; // Depth from the depth buffer : [0, 1] |
|
|
|
float linearDepth; // View space Z coordinate : [Near, Far] |
|
|
|
}; |
|
|
|