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"

Shadow Catcher - Matte Shadow

Hi, I need help to create a shadow catcher in the Unreal Engine 4. How can I set up a plane which only shows the shadows on it? Is this possible? I have to use it for the integration of 3D objects in video footage.

Best regards, Andreas

Product Version: UE 4.15
Tags:
more ▼

asked Mar 12 '17 at 05:22 AM in Rendering

avatar image

Maxwell_77
381 40 55 70

avatar image richardek Mar 12 '17 at 09:22 PM

I would also like to know the answer to this question :) Maybe you could render against white and just screen overlay the shadow. And the rest you composite using alpha?

avatar image zaksi Apr 11 '17 at 12:32 PM

Has anyone found a solution to this?

avatar image schubboy Jul 20 '17 at 08:13 PM

Ditto. Would be very interested to see how this is done in Ureal.

avatar image virtualHC Aug 02 '17 at 04:23 PM

Looking for a solution to this too to be used in AR. This is fairly easy to accomplish in Unity using a simple shader but we want to move our AR production to UE4.

avatar image SebaSopp Oct 11 '17 at 08:46 AM

Did you checked the ShadowPlane from the AugmentedUnreality Plugin? It kind of works, but i got the problem, that the plane is lit by the Directional Light to create the shadow. Because of that, the ShadowPlane is brighter or darker than my ImagePlate... Still looking for a solution for that...

avatar image iBrews Aug 14 '18 at 10:37 PM

Bump! Anyone got anything for this yet?

avatar image etiles Sep 11 '18 at 09:28 AM

Bump Bump Bump!!!

avatar image YunalZobu Sep 21 '18 at 08:16 AM

I'm definitely interested in this too +1 Bump

avatar image Juangea Sep 26 '18 at 04:24 AM

Needing this right now!

avatar image yaroncy Oct 18 '18 at 08:53 AM

I'm also really interested in a solution for that, used AugmentedUnreality Plugin but the shadow plane is let by the Light..which is not ideal. Any news ?

avatar image virtualHC Oct 18 '18 at 11:53 AM

You have to use an unlit material on the shadow plane that has a properly UV mapped ARKit or ARCore camera nodes. Then enable cast modulated shadows on a stationary directional light. After that rebuild lighting and then switch to mobile preview so you can see the shadows in editor.

avatar image Juangea Oct 18 '18 at 12:22 PM

This does not work for windows builds...

avatar image virtualHC Oct 18 '18 at 12:42 PM

Are you doing augmented reality on Windows? Otherwise no, it won't work on Windows.

avatar image yaroncy Oct 18 '18 at 12:55 PM

Correct...

avatar image Juangea Oct 18 '18 at 01:00 PM

Well... I´m doing something where I have an unlit object with a texture and I need a shadow over that object...

avatar image SebaSopp Oct 18 '18 at 01:01 PM

For a solution without the AugmentedUnreality Plugin take a look here: https://forums.unrealengine.com/development-discussion/rendering/102794-shadow-catcher-possible-oo

avatar image Juangea Oct 18 '18 at 04:19 PM

Thanks for that, I´ll check it! :)

But in any case, we should have this type of shader in UE4 already, it exists in Unity since the first time the HTC Vive were released with the first photogrammetry demos, and as of today, photogrammetry is pretty important in many situations, and we cannot use it correctly because the lack of this type of shader.

Cheers!

avatar image Juangea Oct 18 '18 at 01:00 PM

the only different thing with respect the AR situation is thata I don´t have a camera feed as texture, but I assume that this has nothing to do with shadows

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

1 answer: sort voted first

https://docs.unrealengine.com/en-US/Engine/Composure/Primitive-Compositing-Mode-Compositing-Mode

this is a clear breakdown on how to get it working. You may want to watch the video for a breakdown. https://www.youtube.com/watch?v=VIKBHiOIEK0

more ▼

answered Mar 15 '19 at 05:15 PM

avatar image

rasamaya1
11 1 3

(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