Fixed some stuff
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ dependencies {
|
||||
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
||||
|
||||
// Local Ascend mod (works because of mavenLocal())
|
||||
implementation fg.deobf("net.fretux.ascend:Ascend:1.0.0")
|
||||
implementation fg.deobf("net.fretux.ascend:Ascend:1.1.0")
|
||||
|
||||
// Iron's Spellbooks
|
||||
compileOnly fg.deobf("io.redspace.ironsspellbooks:irons_spellbooks:${irons_spells_version}:api")
|
||||
|
||||
@@ -6,11 +6,12 @@ uniform mat4 ProjMat;
|
||||
uniform vec2 OutSize;
|
||||
uniform float ShakeStrength;
|
||||
uniform float Time;
|
||||
out vec2 oneTexel;
|
||||
|
||||
out vec2 texCoord;
|
||||
|
||||
void main() {
|
||||
|
||||
oneTexel = 1.0 / OutSize;
|
||||
// screen-shake offset in *pixels*
|
||||
float px = sin(Time * 25.0 + Position.x * 5.0) * ShakeStrength * 20.0;
|
||||
float py = cos(Time * 20.0 + Position.y * 7.0) * ShakeStrength * 20.0;
|
||||
|
||||
Reference in New Issue
Block a user