animated shape breaking gradient over time
#1
I have a scene where I want the emission to light up and fade over time, this works fine when Shape is not animated, but when turn on animated for Shape, (because I'm using an animated alembic file) the emission effects every particle and does not fade as it should. I have added the 2 states in images and my setup.

Can someone help please?


Attached Files Thumbnail(s)
           
  Reply
#2
Try putting the mapping operator after the Shape operator - my guess is that in your setup, the continually-updating Shape operator is overwriting the Mapping operator changes immediately above it.
  Reply
#3
(08-28-2026, 11:29 PM)tyFlow Wrote: Try putting the mapping operator after the Shape operator - my guess is that in your setup, the continually-updating Shape operator is overwriting the Mapping operator changes immediately above it.

That did help, however there is still a strange issue. I found in another thread that Arnold only renders this gradient effect over time properly when the mapping operator set to "Affect particle mesh UVW", but that then ruins the UVs of my firefly. And when mapping is set to "Affect particle mapping overrides" it render the textures correctly but the emissive material gradient that is meant to fade over time does not work and stays on for every particle. It seems i'm getting one part of what i want on each setting but not both.

Am i missing something?


Attached Files Thumbnail(s)
           
  Reply
#4
There's no reason both modes shouldn't work - try with a simpler setup and check the UVWs manually with an Unwrap UVW mod, to confirm it's not an issue with your setup.
  Reply
#5
(08-31-2026, 05:01 PM)tyFlow Wrote: There's no reason both modes shouldn't work - try with a simpler setup and check the UVWs manually with an Unwrap UVW mod, to confirm it's not an issue with your setup.
I've recreated this scenario with a simple setup and it still gives me the same 2 outcomes. either the emission gradient works and with bad mapping on the other half, or the other half's mapping is correct but the emission gradient does not based on the 2 available mapping mode options using Arnold.


Attached Files Thumbnail(s)
       

.max   mapping-test-V2.max (Size: 1.01 MB / Downloads: 67)
  Reply
#6
If you could get another mapping channel into arnold, say mapping channel 2 instead of 1, where 1 stays your correct UVS and 2 would be your emission texture, would that work?
  Reply
#7
The issue in this case is unrelated to tyFlow or what renderer you're using - it's related to how Max samples textures.

Your UVWs, as they interpolate from 0-1, will be [X, 0, 0] (where X is the value for a particular particle). This means that the texmap is always sampled at 0 on the Y axis. Since that's at a pixel boundary, the texmap sampler will interpolate between the pixel above and below it. Since your checker texmap always either has a white square above with a black square below, or a black square above with a white square below, the sampled color will always be a perfect blend of black and white (ie - gray). This is why, no matter the UVW value, the result is always gray.

Just bias your texmap a tiny bit, such that your sampled Y coordinate is not always on the boundary of the checker boxes (ex: set the texmap tiling to 4.99 x 4.99 instead of 5x5) - immediately you'll see the result you wanted.
  Reply


Forum Jump: