Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fading trails
#4
(01-01-2025, 06:20 AM)bplus Wrote: +1 Oh man! great Steve, thanks!

Cool and cute and brief, I will study, I see you are using Mem's.

You *may* be able to do the same with PSET, but you'd probably need to _DONTBLEND first.

PSET tends to do blending automatically, so if you go to PSET (x.y), _RGBA32(0,0,0,0), it doesn't do much of anything at all.  The goal isn't to get down to BLACK (which is RGBA(0,0,0,255)), but to get down to TRANSPARENT (RGBA(0,0,0,0)), and you certainly can't do that with _BLEND enabled.

I just chose to use _MEM as this is an inner loop type process and something which we're calling over and over repeatedly, so it's one of those spots where you want to minimize impact on how long it takes to run, as much as possible.
Reply


Messages In This Thread
Fading trails - by SMcNeill - 01-01-2025, 04:24 AM
RE: Fading trails - by Pete - 01-01-2025, 04:47 AM
RE: Fading trails - by bplus - 01-01-2025, 06:20 AM
RE: Fading trails - by SMcNeill - 01-01-2025, 07:18 AM
RE: Fading trails - by bplus - 01-01-2025, 05:44 PM



Users browsing this thread: 1 Guest(s)