Compare commits

...

2 commits

Author SHA1 Message Date
afeefflox
43cb935c9f
Merge cac4ee2b1a into 79188b06f4 2024-11-03 17:35:10 -05:00
afeefflox
cac4ee2b1a
Support Shader on SustainTrail
idk whoever people want add shader on sustain note (like RGB shader or HSV shader)
2024-10-11 18:01:58 +08:00

View file

@ -333,7 +333,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