dark mode!!

This commit is contained in:
Yoshman29
2023-03-16 11:01:00 +01:00
parent 981cd1f516
commit 8666deee95
7 changed files with 7 additions and 29 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 848 B

After

Width:  |  Height:  |  Size: 872 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

+1 -7
View File
@@ -13,13 +13,7 @@ void main() {
color += flixel_texture2D(bitmap, openfl_TextureCoordv + vec2(strength * (inside / stepsInside) * cos(fi / fsteps * (PI * 2.0)), strength * (inside / stepsInside) * sin(fi / fsteps * (PI * 2.0))));
}
}
/*
for(int x = -steps; x < steps+1; x++) {
for(int y = -steps; y < steps+1; y++) {
color += flixel_texture2D(bitmap, openfl_TextureCoordv + vec2(strength / steps * x, strength / steps * y));
}
}
*/
color /= steps * stepsInside;
gl_FragColor = color;
}