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"

Cast dynamic shadow from translucent mesh

I have a mesh with a translucent material that doesn't cast dynamic shadow.

  • I set to Movable the mesh

  • I set to Movable the DirectionalLight

  • In Opaque meshes the shadows cast well (as you can see in the character)

alt text

I've checked almost every post regarding this issue, also, I tried enabling "Volumetric Shadow" from the mesh properties, but the results are very ugly, so I guess that's not the right way.

Any ideas?

Product Version: UE 4.9
Tags:
more ▼

asked Sep 03 '15 at 01:17 PM in Rendering

avatar image

ivanrosadev
111 4 13 18

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi Ivan,

Have you tried setting the Volumetric Translucent Shadow in the Details panel when you select your mesh in the viewport?

This should be all that is needed. You will notice artifacts for opaque surfaces.

Tim

more ▼

answered Sep 03 '15 at 10:23 PM

avatar image

Tim Hobson ♦♦ STAFF
49k 886 98 874

avatar image ivanrosadev Sep 04 '15 at 10:18 AM

Yeah I was using Translucent Shadow, the problem was that I used a fresnel to lerp the opacity of the material mesh, and Translucent Volumetric Shadow doesn't like that... alt text

avatar image Jacky Sep 04 '15 at 12:04 PM

An expensive workaround:

If it is the fresnel preventing proper shadows create a duplicate of the mesh at the same position and make it's material without fresnel. Hide the mesh in game and make sure the light casts hidden shadows.

(comments are locked)
10|2000 characters needed characters left
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