Tune down voxel occlusion

This commit is contained in:
Lubos Lenco 2017-06-28 16:02:21 +02:00
parent b9f7a26eb4
commit a64586af62

View file

@ -85,7 +85,7 @@ void main() {
indirectSpecular *= f0 * envBRDF.x + envBRDF.y;
fragColor.rgb = indirectDiffuse.rgb * voxelgiDiff * g1.rgb + indirectSpecular * voxelgiSpec;
float occ = 1.0 - indirectDiffuse.a * 0.25 * voxelgiOcc;
float occ = 1.0 - indirectDiffuse.a * 0.2 * voxelgiOcc;
fragColor.rgb *= occ;
#ifdef _SSAO