Fixed SSAO sample G-Buffer shader

Refs #880
This commit is contained in:
Sascha Willems 2021-09-26 16:28:45 +02:00
parent eb11297312
commit 93328016e9

View file

@ -30,5 +30,5 @@ void main()
{
outPosition = vec4(inPos, linearDepth(gl_FragCoord.z));
outNormal = vec4(normalize(inNormal) * 0.5 + 0.5, 1.0);
outAlbedo = texture(samplerColormap * inColor, inUV);
outAlbedo = texture(samplerColormap, inUV) * vec4(inColor, 1.0);
}