Z
Z
Zefirot2021-06-25 14:04:26
Unity
Zefirot, 2021-06-25 14:04:26

How to control the transparency of an object and its components?

Previously, I did something similar with the UI, took the image, added the Canvag Group and changed the alpha, everything inside it also changed the transparency.
But now I need to do the same but with an object that contains several sprites, the same option as with image does not work here, so how can this be done?
Of course, there is an idea for all sprites inside the object to change the transparency evenly, well, these are extreme measures, I hope there is something more adequate ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GFX Data, 2021-06-25
@Zefirot

In URP/HDRP/ShaderGraph, you can create a shader with controlled transparency. Then through this material you can control the transparency for all sprites.
60d5cd9cb0498221205000.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question