custommods

This commit is contained in:
samsonsin
2025-05-29 23:31:29 +02:00
parent 90b3575aea
commit 9d577eb52d
800 changed files with 19540 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
float WorldCurvature(vec2 pos) {
#if defined END
float curvature = dot(pos, pos) / END_CURVATURE_SIZE;
#if END_CURVATURE_SIZE == 999999
curvature *= 0.0;
#endif
#elif defined NETHER
float curvature = dot(pos, pos) / NETHER_CURVATURE_SIZE;
#if NETHER_CURVATURE_SIZE == 999999
curvature *= 0.0;
#endif
#else
float curvature = dot(pos, pos) / OVERWORLD_CURVATURE_SIZE;
#if OVERWORLD_CURVATURE_SIZE == 999999
curvature *= 0.0;
#endif
#endif
return curvature;
}