mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-17 19:15:06 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39c5f4bf7b | ||
|
|
5dc54bb1da |
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ public final class AngelicaRedirector {
|
||||
"net/minecraft/block/material/"
|
||||
};
|
||||
|
||||
private static final ClassConstantPoolParser cstPoolParser = new ClassConstantPoolParser(GL11, GL13, GL14, OpenGlHelper, EXTBlendFunc, ARBMultiTexture, BlockPackage, Project);
|
||||
private static final ClassConstantPoolParser cstPoolParser = new ClassConstantPoolParser(GL11, GL13, GL14, GL20, OpenGlHelper, EXTBlendFunc, ARBMultiTexture, BlockPackage, Project);
|
||||
private static final Map<String, Map<String, String>> methodRedirects = new HashMap<>();
|
||||
private static final Map<Integer, String> glCapRedirects = new HashMap<>();
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ float txSample(vec2 uv, float du, float dv, float factorU, float factorV) {
|
||||
float finalU = uv.x + factorU * du;
|
||||
float finalV = uv.y + factorV * dv;
|
||||
if (finalU < tB.x || finalU > tB.y || finalV < tB.z || finalV > tB.w) {
|
||||
return 0;
|
||||
return 0.0f;
|
||||
}
|
||||
return weight * texture2D(sampler, vec2(finalU, finalV)).a;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user