Skip to content

Commit

Permalink
Implement Settings To Control Rendering (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Jun 23, 2022
1 parent f42f66a commit d30a0a4
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,17 +166,12 @@ void ERS_CLASS_ShadowMaps::UpdateShadowMaps(ERS_STRUCT_Shader* DepthMapShader, E

// Get Updated Info From Renderer Settings
ERS_CLASS_DepthMaps_->CheckSettings();
//ERS::Renderer::ShadowFilteringType FilterMode = SystemUtils_->RendererSettings_->ShadowFilteringType_;


// Create List Of All Depth Maps
// Handle Updating Depth Maps
std::vector<ERS_STRUCT_DepthMap*> DepthMaps;
std::vector<glm::vec3> LightPositions;
GetDepthMaps(&DepthMaps, &LightPositions);




PrioritizeDepthMaps(DepthMaps, LightPositions, CameraPosition);

// Update All Depth Maps
ERS_CLASS_DepthMaps_->UpdateDepthMaps(DepthMapShader, CubemapDepthShader);
Expand Down

0 comments on commit d30a0a4

Please sign in to comment.