include alpha-masked objects in SSAO
this helps a lot with vegetations, which often uses alpha masking
This commit is contained in:
committed by
Mathias Agopian
parent
c0addf22ed
commit
4e62e4f696
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user