View source
class FunkinShader
package funkin.backend.shaders
extends FlxGraphicsShader
implements IHScriptCustomBehaviour
extended by CustomShader
Constructor
View in GitHub
new(frag:String, vert:String, glslVer:String = "120")
Creates a new shader from the specified fragment and vertex source.
Accepts #pragma header
.
Parameters:
frag | Fragment source (pass |
---|---|
vert | Vertex source (pass |
glslVer | Version of GLSL to use (defaults to 120) |