Start 3D rendering

This commit is contained in:
Miloslav Ciz 2023-09-16 20:35:01 +02:00
parent 6e068eff2b
commit edcde03fa3
3 changed files with 74 additions and 0 deletions

View file

@ -13,6 +13,17 @@
#define LCR_SETTING_RESOLUTION_SUBDIVIDE 1
#endif
#ifndef LCR_SETTING_MAX_VERTICES
/** Maximum number of vertices for 3D rendering. Lower number will decrease
RAM usage but will prevent larger maps from being loaded. */
#define LCR_SETTING_MAX_VERTICES 10000
#endif
#ifndef LCR_SETTING_MAX_TRIANGLES
/** Like LCR_SETTING_MAX_VERTICES but for the number of triangles. */
#define LCR_SETTING_MAX_TRIANGLES 10000
#endif
#ifndef LCR_SETTING_SKY_SIZE
/** Size of sky texture pixel, 0 turns off sky rendering. */
#define LCR_SETTING_SKY_SIZE \