mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-10 10:20:44 -07:00
HD bilinear map filtering
This commit is contained in:
parent
f80d7cbb61
commit
5a0caa53ee
2 changed files with 6 additions and 1 deletions
|
|
@ -154,7 +154,11 @@ public class GlSprite extends Sprite {
|
|||
arg8.method1424(1);
|
||||
@Pc(11) GL2 local11 = GlRenderer.gl;
|
||||
GlRenderer.setTextureId(this.textureId);
|
||||
this.method1424(1);
|
||||
if (GlobalConfig.BILINEAR_MINIMAP) {
|
||||
this.method1424(2);
|
||||
} else {
|
||||
this.method1424(1);
|
||||
}
|
||||
local11.glActiveTexture(GL2.GL_TEXTURE1);
|
||||
local11.glEnable(GL2.GL_TEXTURE_2D);
|
||||
local11.glBindTexture(GL2.GL_TEXTURE_2D, arg8.textureId);
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ public class GlobalConfig {
|
|||
public static float VIEW_FADE_DISTANCE = ((float) TILE_DISTANCE / 28.0f) * 256.0f;
|
||||
|
||||
public static boolean USE_TWEENING = true;
|
||||
public static boolean BILINEAR_MINIMAP = true;
|
||||
|
||||
public static int JS5_RESPONSE_TIMEOUT = 5000;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue