blue
blue

Reputation: 7375

Fade shader in Unity HDRP?

I have an image I painted with the soft brush in PS - it has an alpha channel. Im using the standard HDRP lit shader and have blend set to alpha/transparent, but I only have an alpha clip option.

The old pipeline has a fade, so the alpha clipping isn't as abrupt. Is this possible in HDRP?

Upvotes: 2

Views: 3468

Answers (1)

The Knights of Unity
The Knights of Unity

Reputation: 46

Uncheck 'Alpha Clipping' in the material while retaining Transparent surface type and Alpha blending mode - this should make the image have smooth edges while retaining alpha blending. Alternatively, if you still want alpha clipping, manipulate the threshold slider underneath 'Alpha Clipping' checkbox (visible only when it's checked).

Tested on Unity 2019.1.12f1 with HDRP 5.16.1-preview

Upvotes: 1

Related Questions