Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::Configuration Class Reference

#include <M3DConfiguration.h>

Public Member Functions

void parse (const std::string &json)
 
void parse (const rapidjson::Value &root)
 
void serialize (rapidjson::Value &root, rapidjson::Document::AllocatorType &allocator)
 

Public Attributes

bool usePrecomputedScattering = false
 Enables precomputed atmospheric scattering for realistic rendering of atmosphere and aerial perspective. Also enables HDR rendering. Modifies shaders.
 
int numShadowSplits = 4
 
float shadowDistance = 500.0f
 
std::vector< float > shadowSplits = { 0, 5, 25, 150 }
 
int depthMapSize = 2048
 
STK::FrameBufferFX::HDRParams hdr
 
ForestRenderer::Config forest
 
bool logDepthBuffer = false
 Use logarithmic depth buffer. Improves resolution of depth buffer calculations. Modifies shaders.
 
bool useHeightAboveEllipsoid = true
 
float tileErrorScale = 1.0f
 

Detailed Description

Configuration - Configuration options related to 3D rendering. These are options that control fundamental features in the 3D renderer that must be set upon initialization. These are typically not runtime settings that can be changed later.


The documentation for this class was generated from the following files: