From 4c5fb391dbbb0449726c0492158a76cee91a1fdb Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:32:16 +1000 Subject: [PATCH] Version --- gradle.properties | 2 +- .../assets/nvidium/shaders/occlusion/section_raster/mesh.glsl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 90adbac7..5f660111 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,7 @@ loader_version=0.14.21 fabric_version=0.84.0+1.20.1 # Mod Properties -mod_version=0.1.16-alpha +mod_version=0.1.17-alpha maven_group=me.cortex archives_base_name=nvidium # Dependencies diff --git a/src/main/resources/assets/nvidium/shaders/occlusion/section_raster/mesh.glsl b/src/main/resources/assets/nvidium/shaders/occlusion/section_raster/mesh.glsl index f1421e21..615528fb 100644 --- a/src/main/resources/assets/nvidium/shaders/occlusion/section_raster/mesh.glsl +++ b/src/main/resources/assets/nvidium/shaders/occlusion/section_raster/mesh.glsl @@ -68,8 +68,8 @@ void main() { emitParital(prim_payload); } if (gl_LocalInvocationID.x == 0) { - ivec3 absRelPos = abs(relativeChunkPos); - int maxDist = min(absRelPos.x, min(absRelPos.y, absRelPos.z)); + //ivec3 absRelPos = abs(relativeChunkPos); + //int maxDist = min(absRelPos.x, min(absRelPos.y, absRelPos.z)); //Shift and set, this gives us a bonus of having the last 8 frames as visibility history //sectionVisibility[visibilityIndex] = uint8_t(lastData<<1) | uint8_t(maxDist<=1?1:0);//Inject visibility aswell