Fix Global Surface Atlas drawing of objects that are hidden in GBuffer pass but should be visible for GI
This commit is contained in:
@@ -39,7 +39,7 @@ PACK_STRUCT(struct TerrainMaterialShaderData {
|
||||
|
||||
DrawPass TerrainMaterialShader::GetDrawModes() const
|
||||
{
|
||||
return DrawPass::Depth | DrawPass::GBuffer;
|
||||
return DrawPass::Depth | DrawPass::GBuffer | DrawPass::GlobalSurfaceAtlas;
|
||||
}
|
||||
|
||||
bool TerrainMaterialShader::CanUseLightmap() const
|
||||
|
||||
Reference in New Issue
Block a user