include alpha-masked objects in SSAO

this helps a lot with vegetations, which often uses alpha masking
This commit is contained in:
Pixelflinger
2020-03-12 18:33:14 -07:00
committed by Mathias Agopian
parent c0addf22ed
commit 4e62e4f696

View File

@@ -115,7 +115,7 @@ public:
// generate commands for shadow map
SHADOW = DEPTH | DEPTH_CONTAINS_SHADOW_CASTERS,
// generate commands for SSAO
SSAO = DEPTH | DEPTH_FILTER_TRANSLUCENT_OBJECTS | DEPTH_FILTER_ALPHA_MASKED_OBJECTS,
SSAO = DEPTH | DEPTH_FILTER_TRANSLUCENT_OBJECTS,
};