more changes
This commit is contained in:
@@ -93,7 +93,7 @@ void voxy_emitFragment(VoxyFragmentParameters parameters);
|
||||
vec4 computeColour(vec2 texturePos, vec4 colour) {
|
||||
//Conditional tinting, TODO: FIXME: REPLACE WITH MASK OR SOMETHING, like encode data into the top bit of alpha
|
||||
if (useTinting()) {
|
||||
vec4 tintTest = texture(blockModelAtlas, texturePos, -2);
|
||||
vec4 tintTest = textureLod(blockModelAtlas, texturePos, 0);
|
||||
if (abs(tintTest.r-tintTest.g) < 0.02f && abs(tintTest.g-tintTest.b) < 0.02f) {
|
||||
colour *= uint2vec4RGBA(interData.z).yzwx;
|
||||
}
|
||||
|
||||
@@ -31,4 +31,6 @@ accessible class net/minecraft/client/gl/GlDebug$DebugMessage
|
||||
|
||||
accessible class net/minecraft/client/world/ClientChunkManager$ClientChunkMap
|
||||
accessible method net/minecraft/client/world/ClientChunkManager$ClientChunkMap getChunk (I)Lnet/minecraft/world/chunk/WorldChunk;
|
||||
accessible method net/minecraft/client/world/ClientChunkManager$ClientChunkMap getIndex (II)I
|
||||
accessible method net/minecraft/client/world/ClientChunkManager$ClientChunkMap getIndex (II)I
|
||||
|
||||
accessible field net/minecraft/client/texture/SpriteAtlasTexture mipLevel I
|
||||
Reference in New Issue
Block a user