Skip to content

Commit

Permalink
[Olympus] Fix VSM shadow mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
zbai-sc committed Aug 2, 2022
1 parent 944cb16 commit 5eca411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions filament/src/ShadowMapManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ FrameGraphId<FrameGraphTexture> ShadowMapManager::render(FrameGraph& fg, FEngine

view.prepareCamera(cameraInfo);

view.prepareShadowMap();

// We set a viewport with a 1-texel border for when we index outside the
// texture.
// DON'T CHANGE this unless ShadowMap::getTextureCoordsMapping() is updated too.
Expand Down

0 comments on commit 5eca411

Please sign in to comment.