; DO NOT MODIFY THIS FILE
; CREATE A COPY - "core3D_local.ini" & OVERRIDE WHAT YOU NEED
; NEVER IMPORT "core3D_local.ini" TO GIT !!!

------------------------------------------------

[CDebug]

; enable/disable runtine debugging code
ms_bSygicDebug=0

------------------------------------------------

[CCompatibility]
ms_bTableEnabled=0

------------------------------------------------

[CEngine]

; auto disabled for non shaders based renderer
ms_bPostprocessAllowed=1

; MultiSampling
; multisampling level (0, 2, 4,...)
; limited by max supported level
ms_nMultiSamplingLevel=2

; for iOS C3DTypes::PfRGBA8888
ms_ePixelFormat=C3DTypes::PfRGBA8888
ms_eDepthFormat=C3DTypes::Df16Bit

ms_bLazySwapBuffers=1

; debug
ms_eStats=CEngine::SNone

ms_fRenderTimeStatsResolution=0.1
ms_fRenderTimeStatsResolutionTotal=0.2

ms_fRenderMemStatsResolution=4096
ms_fRenderMemStatsResolutionTotal=65536

ms_bRenderFPS=0
ms_bRenderFrame=0
ms_bRenderFreeMem=0

; CGeometryGroup::PmEnableProcessingAndRendering,CGeometryGroup::PmDisableRendering,CGeometryGroup::PmDisableProcessingAndRendering
ms_eGeometryGroupProcessingMode=CGeometryGroup::PmEnableProcessingAndRendering

ms_bFinishEveryGeometryGroup=0
ms_fReportGroupUpdateTime=1.0
ms_fReportGroupRenderTime=1.0

------------------------------------------------

[CRenderer]
0=CRendererGL2 ; OpenGL 2.0 (OpenGL ES 2.0) based renderer
1=CRendererGL  ; OpenGL 1.5 (OpenGL ES 1.1) based renderer

ms_arrSuppressedCaps=
ms_arrSuppressedCapsSW=CRenderer::RcVB

; debug
ms_bDisableFixedPoints=0
ms_bDisableAlphaBlend=0
ms_bDisableAlphaTest=0
ms_bDisableTexturing=0

------------------------------------------------

[CRendererGL]

; OpenGL 1.5/OpenGL ES 1.1 libraries
0=OpenGL32.dll
1=libGLES_CM.dll
2=libGL.so
3=libGLES_CM.so
4=libGLESv1_CM.dll
5=libGLESv1_CM.so

; -1 = ignored
; when ignored CRenderer::ms_nMultiSamplingLevel, CRenderer::ms_ePixelFormat & CRenderer::ms_eDepthFormat used to choose egl config
; OpenGL ES only
ms_nForcedEGLConfigIndex=-1

; OpenGL ES only
ms_bDefaultDisplay=0

------------------------------------------------

[CRendererGL2]

; OpenGL 2.0/OpenGL ES 2.0 libraries
0=OpenGL32.dll
;1=atioglxx.dll
2=libGLESv2.dll
3=libGLESv2.so

ms_strShaderPath=shaders\opengl

------------------------------------------------

[CRendererD3D]

ms_strShaderPath=shaders\d3d

------------------------------------------------

[CVertexStreamBase]
ms_dwMegaVertexBufferSize=0
ms_dwMegaIndexBufferSize=0

------------------------------------------------

[CTexture]

; TfqNone
; TfqLinear
; TfqBilinear   // requires mipmaps
; TfqTrilinear	// requires mipmaps
ms_eDefaultTextureFilteringQuality=C3DTypes::TfqLinear

; 0 = best quality, more memory required
; final index = ms_nGlobalFirstMipMapIndex + ms_arrTgFirstMipMapIndex[<texture ID>] + ms_nDecompressedMipMapIndexOffset
ms_nGlobalFirstMipMapIndex=0

; 0 = best quality, more memory required
; TgIDDefault, TgIDUI, TgIDGlobe, TgIDSatelliteHigh, TgIDSatelliteLow, TgIDBuildings, TgIDRoads, TgIDAreas, TgIDSky
ms_arrTgFirstMipMapIndex=  0,0,0,0,0,0,0,0,0
ms_arrTgFirstMipMapIndexSW=1,1,1,1,1,1,0,1,0

; 0 = best quality, more memory required
ms_nDecompressedMipMapIndexOffset=1

; indicates if textures should be converted from 24/32-bit to 16-bit format (RGB(A) formats only) when decompressed from non-native compressed format
ms_bDecompressedConvertTo16Bit=0

------------------------------------------------

[CGlobalManager]
; cache sizes sets (4*2) index based on C3DMapWnd::m_eStaticDetails
ms_arrCacheSizes=8192,16384, 16384,24576, 24576,32768, 43008,49152
ms_arrHoldersCleanupLimits=2000,3000,4000,5000

[C3DMapHeightmap]
ms_bBumpmapping=1
; based on C3DMapWnd::m_eStaticDetails
ms_arrNormalmapSize=512,512,1024,2048

[C3DMapCtrlBase]
m_eDebugMode=C3DMapCtrlBase::DmNone

[C3DMapWnd]
; force overall details (affected LOD switching height, view distance, ...), otherwise determined by CPU power
; C3DMapWnd::SdLow, C3DMapWnd::SdNormal, C3DMapWnd::SdHigh, C3DMapWnd::SdUltra
m_eStaticDetails=C3DMapWnd::SdHigh

; camera's field of view (angle degrees)
; default = 45.0
m_fFOVY=60.0

; group's view distance (%), index based on C3DMapWnd::m_eStaticDetails
m_arrViewDistances=80.0, 100.0, 100.0, 100.0

; max index 31
0=CSkyGroup CGlobeGroup CAreaGroup0 CAreaGroup1 CAreaGroup2 CAreaGroup9 CTerrainGroup
1=CBoundariesGroup
2=CRoad2Group CRoadHighlight
3=CLandMarkGroup
4=CVehicleGroup
;5=CGlobeMarkGroup
6=CCityMapsLod0
7=C3DMarksGroup
8=CMapObjectGroup CTrafficGroup CCollectionRenderGroup
;9=CPhotoGroup
9=CMapGeoFence CComputeDebugGroup

