mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-12-11 08:41:25 -05:00
22 lines
364 B
Haxe
22 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();
|
|
}
|
|
}
|