Skip to content

Added colorlight compat and fixed flat textures - #24

Open
AshenSolYT wants to merge 1 commit into
programmer1o1:masterfrom
AshenSolYT:Colorlight-Patch
Open

AshenSolYT wants to merge 1 commit into
programmer1o1:masterfrom
AshenSolYT:Colorlight-Patch

Conversation

@AshenSolYT

Copy link
Copy Markdown

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant