mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-15 08:25:31 -04:00
Add shader and color support for SustainTrail
The drawTriangles function in SustainTrail omits the colorTransform and shader arguments, which makes changing those properties do nothing
This commit is contained in:
parent
7490b7eab7
commit
01b5d527ac
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ class SustainTrail extends FlxSprite
|
|||
// if (!isOnScreen(camera)) continue; // TODO: Update this code to make it work properly.
|
||||
|
||||
getScreenPosition(_point, camera).subtractPoint(offset);
|
||||
camera.drawTriangles(processedGraphic, vertices, indices, uvtData, null, _point, blend, true, antialiasing);
|
||||
camera.drawTriangles(processedGraphic, vertices, indices, uvtData, null, _point, blend, true, antialiasing, colorTransform, shader);
|
||||
}
|
||||
|
||||
#if FLX_DEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue