Updated SSAO shader #245

Merged
Xenosas1337 merged 1 commits from SP3-1-Rendering into main 2022-11-22 16:01:11 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 780c716199 - Show all commits

View File

@ -6,8 +6,8 @@ const int ROTATION_KERNEL_W = 4;
const int ROTATION_KERNEL_H = 4;
// can perhaps pass in as push constant.
const float RADIUS = 0.5f;
const float BIAS = 0.025f;
const float RADIUS = 0.2f;
const float BIAS = 0.0025f;
layout(local_size_x = 16, local_size_y = 16) in;
layout(set = 4, binding = 0, rgba32f) uniform image2D positions;

Binary file not shown.