K
K
Ksenia2019-10-24 07:12:52
User interface
Ksenia, 2019-10-24 07:12:52

Why does the mask not work with ui objects that have LWPR shaders on them?

In an LWPR project, the mask on the UI works selectively with shaders... Example. I check it on one object (test image without material) - everything is ok. I check on another (image + material with a shader from LWPR) - it does not work. Is this a bug or a feature? How can you fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Ksenia, 2019-10-24
@Ksushqa

I did not find a better solution than to make my own pbr-shader through a shader graph. There I added a mask and a property to shift the mask. Through the Mask component for shaders, lwpr could not be done.

G
GavriKos, 2019-10-24
@GavriKos

The shader itself must support the mask via Stensil.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question