Sodium

Sodium

35M Downloads

no transparency in CTM resourcepacks for opaque blocks using Indium and Continuity

RafaUC opened this issue ยท 2 comments

commented

Version information

sodium-fabric-mc1.20-0.4.10+build.27

Expected Behavior

blocks that have extra textures in their models show that decorations with transparency.
(example without sodium and indium)
2023-06-11_21 32 15
2023-06-11_21 36 19

Actual Behavior

The transparent part of the textures show black. This only happens when the block that has these model decorations is an opaque block, with leaves and no opaque blocks it works fine.
2023-06-11_21 12 46
2023-06-11_21 38 30

Reproduction Steps

I loaded the resourcepack Faithless1.20 using Sodium, Indium and Continuity, but in some blocks that have CTM decoration the transparency doesn't work, this is easier to see in the warped forest and the end biomes.

Java version

19.0.2

CPU

AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G 2.70 GHz

GPU

RADEON R7

Additional information

minecraft 1.20
fabric loader 0.14.21
mods:
Screenshot_3
resourcepack: https://www.curseforge.com/minecraft/texture-packs/faithless/files/4572791

commented

This pack does indeed use core shaders to make solid blocks have cutout textures and to apply emissivity to other textures. The pack author's Discord server has a patch pack that removes all model elements that utilize these features to make everything look correct while using Sodium. Of course, since some things are removed, the world may not look as fancy.

commented

Not sure what is the expected behavior for ctm mods is. But I do know that Minecraft doesn't render transparency in non-transparent blocks. This resource pack gets around that by using resource pack shaders which are incompatible with Sodium.