Updated SSAO shader

This commit is contained in:
Brandon Mak 2022-11-22 16:00:05 +08:00
parent cf0b94e97d
commit 780c716199
2 changed files with 2 additions and 2 deletions

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.