Merge pull request #245 from SHADE-DP/SP3-1-Rendering

Updated SSAO shader
This commit is contained in:
XiaoQiDigipen 2022-11-22 16:01:11 +08:00 committed by GitHub
commit 1ca216801f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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; const int ROTATION_KERNEL_H = 4;
// can perhaps pass in as push constant. // can perhaps pass in as push constant.
const float RADIUS = 0.5f; const float RADIUS = 0.2f;
const float BIAS = 0.025f; const float BIAS = 0.0025f;
layout(local_size_x = 16, local_size_y = 16) in; layout(local_size_x = 16, local_size_y = 16) in;
layout(set = 4, binding = 0, rgba32f) uniform image2D positions; layout(set = 4, binding = 0, rgba32f) uniform image2D positions;

Binary file not shown.