Fix zminmax not being linear depth
This commit is contained in:
parent
b43f84def6
commit
83009db3ec
9 changed files with 54 additions and 15 deletions
|
|
@ -53,6 +53,14 @@ struct PushConstants
|
|||
int uFogballIndex; // fog balls
|
||||
};
|
||||
|
||||
struct ZMinMaxPushConstants
|
||||
{
|
||||
float LinearizeDepthA;
|
||||
float LinearizeDepthB;
|
||||
float InverseDepthRangeA;
|
||||
float InverseDepthRangeB;
|
||||
};
|
||||
|
||||
struct LightTilesPushConstants
|
||||
{
|
||||
int additiveCount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue