Particle Gradient Mapping

Good info, thanks mate!

1 Like

Hi all,
here other example. I catch here the values between 0.1 and 0.99. So they get a other color.
It was usfule for stylized effects with outlines.

5 Likes

Coming back to this just to comment on how move I LOVE this gif. Really beautiful work!!

1 Like

Bumping the old thread
Guys, I need your advice. I have a texture and a gradient which looks like this:

1

2

If I will apply that gradient as gradient map in photoshop I will get that result:

3

But if I trying to use gradient mapping in unreal I’m getting that strange effect in the middle (where the maximum of white)

4

Why this is happend? My texture is linear color and gradient is sRGB

Is your gradient texture being tiled? Because in that case 1 most likely tries to interpolate between closest pixel on 1 and the tiled 0.

Try clamping the gradient texture.

3 Likes

Also disable sRGB on your particle texture since you’re not using it as a color.

Yeah, it’s working! Thank you very much!

Shouldn’t this be done with linear gamma to avoid all the ugly colors?

Curve Atlasses for shaders in UE 4.20. Done are the days of creating gradiesnts in photoshop?

https://docs.unrealengine.com/en-us/Engine/Rendering/Materials/CurveAtlasesInMaterials

6 Likes

Yep, just saw it! Should allow for way faster changes, quite cool :slight_smile:

EDIT:
Actually recorded a video of fast iteration here:

1 Like