diff --git a/Assets/Shaders/SSAO_CS.glsl b/Assets/Shaders/SSAO_CS.glsl index c035adcc..2f44763c 100644 --- a/Assets/Shaders/SSAO_CS.glsl +++ b/Assets/Shaders/SSAO_CS.glsl @@ -47,7 +47,7 @@ void main() vec2 noiseDim = vec2 (textureSize(noiseTexture, 0)); vec2 threadUV = (vec2(globalThread) + vec2 (0.5f)) / vec2(size); - vec2 noiseUVMult = vec2 ((vec2(size) / noiseDim); + vec2 noiseUVMult = vec2 (vec2(size) / noiseDim); noiseUVMult *= threadUV; vec3 randomVec = texture(noiseTexture, noiseUVMult).rgb;