mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-23 21:56:46 +00:00
23 lines
364 B
Haxe
23 lines
364 B
Haxe
package funkin.graphics.shaders;
|
|
|
|
import flixel.system.FlxAssets.FlxShader;
|
|
|
|
class WaveShader extends FlxShader
|
|
{
|
|
@:glFragmentSource('
|
|
#pragma header
|
|
|
|
void main()
|
|
{
|
|
vec4 color = flixel_texture2D(bitmap, openfl_TextureCoordv);
|
|
|
|
gl_FragColor = color;
|
|
}
|
|
|
|
')
|
|
public function new()
|
|
{
|
|
super();
|
|
}
|
|
}
|