x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Translucent Shadows and Vertex Color

I have a material that uses vertex color to switch between black and white to use in the opacity slot.

However, the transluscent shadows dont seem to take into account this. The shadows are the same no matter the vertex color (black or white) applied. My scene is fully static.

Transparency

A1: Transluscent material with all white vertex color; A2: Transluscent material with all black vertex color; B: Near transparent Material; C: Opaque Material.

A1-S: Shadow of A1; A2-S: Shadow of A2; B-S: Shadow of B; C-S: Shadow of C.


You can see that the shadow of A1 and A2 are the same, even when the opacity is not.

Here's my material:

Material2

As you can see, I am using a Lerp to switch between my two opacities (and color).

Is this a bug or variable shadow transluscency is not working with vertex color?

Product Version: UE 4.15
Tags:
more ▼

asked Apr 05 '17 at 05:46 PM in Bug Reports

avatar image

Elggetto
72 7 15 24

avatar image mngpssn Apr 05 '17 at 06:01 PM

If you have followed the tutorial for handling translucent shadows: TransShadow, be sure you already build the project.

Also, you can swith your lerp function with multiply function (as the tutorial) in order to know if the lerp function has to be modified.

avatar image Elggetto Apr 05 '17 at 07:49 PM

I did everything they told in this page. Still No luck.

I really think vertex painting and opacity dont go well together.

avatar image AndrewHurley Apr 26 '17 at 08:29 PM

Hey Elggetto,

I am going to run through a series of tests on my end to see what I can find. I'll return once I have completed my testing.

Cheers,

Andrew Hurley

avatar image Elggetto Apr 26 '17 at 11:40 PM

Okay thank you!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So I was running some tests, and I am a bit thrown off by your own test case. What is it you expect to see, versus what you have presented?

Also, what happens if you switch your scene to be fully dynamic instead of static? i.e. Set your directional light to Movable.

I am seeing variable shadowed translucency when using a movable light, but not with static lighting which I believe is expected.

Thanks,

Andrew Hurley

more ▼

answered Apr 30 '17 at 09:48 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question