mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-21 14:23:00 +00:00
feat: Added InverseDotsShader that emulates flash selections
This commit is contained in:
parent
8890cbf270
commit
097dbf5bb4
14
source/funkin/graphics/shaders/InverseDotsShader.hx
Normal file
14
source/funkin/graphics/shaders/InverseDotsShader.hx
Normal file
|
@ -0,0 +1,14 @@
|
|||
package funkin.graphics.shaders;
|
||||
|
||||
import flixel.addons.display.FlxRuntimeShader;
|
||||
|
||||
/**
|
||||
* Create a little dotting effect.
|
||||
*/
|
||||
class InverseDotsShader extends FlxRuntimeShader
|
||||
{
|
||||
public function new()
|
||||
{
|
||||
super(Assets.getText(Paths.frag("InverseDots")));
|
||||
}
|
||||
}
|
|
@ -148,9 +148,9 @@ class TitleState extends MusicBeatState
|
|||
// maskShader.frameUV = gfDance.frame.uv;
|
||||
// gfDance.shader = maskShader;
|
||||
|
||||
gfDance.shader = swagShader.shader;
|
||||
// gfDance.shader = swagShader.shader;
|
||||
|
||||
// gfDance.shader = new TitleOutline();
|
||||
gfDance.shader = new TitleOutline();
|
||||
|
||||
add(logoBl);
|
||||
|
||||
|
|
Loading…
Reference in a new issue