Repository navigation
Added colorlight compat and fixed flat textures - #24
Conversation
colorlight compatibility was added by checking if colorlight is installed new version or older, by hooking into colorlight so no files from colorlight is ever used and why the flat textures happen and colorlights breaking sodium:blocks/block_layer_opaque colorLight replaces sodium's terrain shader "sodium:blocks/block_layer_opaque" with its own copy "colorlight:blocks/colored_terrain", so the greedy UV patch never applied and merged faces sampled one texel, rendering as a flat texture on some surfaces
|
@programmer1o1 ??? |
|
@programmer1o1 so did you check it? |
|
hi, sorry for the delay, busy atm but I tested the ColorLight fix in a Superflat world. textures and colored lighting look fine now. you also have made optimization for sodium chunk builder tasks so I also compared F3+L profiles between 0.6.2 and 0.6.1 but both recordings had an empty chunk compile queue, so I couldn’t verify the chunk-build performance changes. I will need to test while chunks are actively loading but thanks for the pull request! |
oh okay i don't remember whether i asked to do chunk building changes or not but i think it did that to fix the issue. |
|
oh yeah @programmer1o1 how do i compile specific versions? |
|
If you are using gradlew command, just run |
im on windows and i used gradlew :26.3:build then it started building all versions from 1.21 to 26.3 and same with linux |
|
ok i used this "gradlew :26.3:build --configure-on-demand" then it started compiling 26.3 |
Just change ":26.3:build" to like ":[ANY_VERSION]:build", that should work |
|
i already fixed the issue with this gradlew :26.3:build --configure-on-demand |
|
@programmer1o1 nice dude did you rewrite the code or did you just merge it? just asking |
|
ill try doing more compat patches when i come across any mod that has issues |
colorlight compatibility was added by checking if colorlight is installed new version or older, by hooking into colorlight so no files from colorlight is ever used and why the flat textures happen and colorlights breaking sodium:blocks/block_layer_opaque
colorLight replaces sodium's terrain shader "sodium:blocks/block_layer_opaque" with its own copy "colorlight:blocks/colored_terrain", so the greedy UV patch never applied and merged faces sampled one texel, rendering as a flat texture on some surfaces
and latest versions of sodium and colorlight were used at the time of this patch