remove mip thing cause vanilla mipmaps have issues
This commit is contained in:
@@ -7,7 +7,12 @@ layout(location=0) out vec4 colour;
|
||||
layout(location=1) out uvec4 metaOut;
|
||||
|
||||
void main() {
|
||||
colour = texture(tex, texCoord, ((~metadata>>1)&1u)*-16.0f);
|
||||
float mipbias = ((~metadata>>1)&1u)*-16.0f;
|
||||
mipbias = -16.0f;//Always use the top level
|
||||
// TODO FIXME, it should use the 16x16 mipmap, the issue is tho, the alpha cutoff is jsut wrong tho ;-;
|
||||
// causing issues with resource packs that are bigger then 16x16 (e.g. faithful x64)
|
||||
// this is probably to to the scaleAlphaToCoverage system
|
||||
colour = texture(tex, texCoord, mipbias);
|
||||
if (colour.a < 0.001f && ((metadata&1u)!=0)) {
|
||||
discard;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user