Updated SSAO shader
This commit is contained in:
parent
cf0b94e97d
commit
780c716199
|
@ -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.
Loading…
Reference in New Issue