mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-15 08:06:06 +09:00
hq2x shader using modernised syntax
This commit is contained in:
@@ -47,7 +47,7 @@ class Hq2x : Disposable {
|
||||
program = compileShader(
|
||||
Gdx.files.classpath("shaders/hq2x.vert"),
|
||||
Gdx.files.classpath("shaders/hq2x.frag"),
|
||||
"#define SCALE ${scaleFactor}.0")
|
||||
"")
|
||||
|
||||
lutTexture = Texture(Gdx.files.classpath("shaders/hq${scaleFactor}x.png"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user