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 21, 2022
1 parent 99cbd55 commit 217f287
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ namespace ERS {

enum ShadowUpdateMode {

ERS_NO_FILTERING,
ERS_PCF_FILTERING,
ERS_POISSON_SAMPLING,
ERS_STRATIFIED_POISSON_SAMPLING
ERS_NO_SHADOW_UPDATES,
ERS_RANDOM_SHADOW_UPDATES,
ERS_CONSECUTIVE_SHADOW_UPDATES,
ERS_DISTANCE_PRIORITIZED_SHADOW_UPDATES,
ERS_ALL_SHADOW_UPDATES

};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ struct ERS_STRUCT_RendererSettings {
int ShadowMapX_ = 2048;
int ShadowMapY_ = 2048;

// Set Shadow Filtering Type
// Set Shadow Update Settings
ERS::Renderer::ShadowFilteringType ShadowFilteringType_ = ERS::Renderer::ERS_PCF_FILTERING;

// Set Max Shadow Updates Per Frame
int MaxShadowUpdatesPerFrame_ = 20;

};

0 comments on commit 217f287

Please sign in to comment.