Increase renderer unit

This commit is contained in:
Miloslav Ciz 2025-02-19 20:08:25 +01:00
parent 30d44bc8d4
commit def8fa3c27
3 changed files with 13 additions and 4 deletions

View file

@ -33,13 +33,12 @@
#define S3L_NEAR_CROSS_STRATEGY 1
#define S3L_FLAT 1
#endif
#define S3L_NEAR (S3L_F / 2)
#include "small3dlib.h"
/// Renderer specific unit, length of one map square.
#define LCR_RENDERER_UNIT (S3L_F / 2)
// NOTE: ^ S3L_F sometimes makes some triangles bug, S3L_F/2 seems to fix it
// but it's more jerky, maybe try to apply anti-overflow in S3L?
#define LCR_RENDERER_UNIT (S3L_F)
#define LCR_RENDERER_CHUNK_RESOLUTION 4 // do not change
#define LCR_RENDERER_LOD_BLOCKS 64 // do not change