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"

How to make a "circle" shadow ?

The dynamic shadow on my android device can not render correctly, it is not show, and so, I want to make a shadow like this in the picture alt text

I hope the shadow mapping to the landscape or model , and it would looks not strange. What Can I Do ? I am a newcomer ! Thanks so much ! :)

Product Version: UE 4.12 Preview
Tags:
shadow qa.jpg (14.8 kB)
more ▼

asked May 15 '16 at 03:52 PM in Rendering

avatar image

typesolo
1 1 4 5

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

3 answers: sort voted first

You can use Deferred Decal to make this ,the document is here https://docs.unrealengine.com/latest/INT/Engine/Actors/DecalActor/

more ▼

answered May 16 '16 at 06:40 AM

avatar image

GodOfPen
94 4 4 8

avatar image typesolo May 16 '16 at 10:34 AM

I well try and learn it, thank you

avatar image Sumit Das May 16 '16 at 10:40 AM

Yes add a Deferred decal at the base contact of the character.

avatar image typesolo May 16 '16 at 05:03 PM

Oh~ No~ It seems like decals are not supported on mobile..

avatar image GodOfPen May 17 '16 at 01:10 AM

After 4.11 it support deferred decal on mobile(need to be Unlit)

avatar image typesolo May 18 '16 at 02:54 PM

I'll try it one more time :)

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

If I understand you correctly, you're saying that dynamic shadows are unsupported on your device and you want to be able to simplify the shadow manually? Well if its a character as you're showing in your example image, then you cannot. Doesn't matter if you change the shape, characters (and all skeletal meshes) are dynamic - which means they move around the environment - so any shadow you give them will be a dynamic shadow. If you're wanting to add a shadow to a static object, then you could fake it with a custom decal material but why bother since your device should support static shadows. Granted, I suppose you could make a fake material shadow appear below your character but this would only work if your ground is completely flat, or if your character is hovering in the air and you can place the shadow above the ground without it looking weird from the player's view. Mostly though its not possible to do what you want without it looking really bad.

more ▼

answered May 16 '16 at 03:20 AM

avatar image

TorQueMoD
1.1k 80 108 142

avatar image typesolo May 16 '16 at 04:39 AM

yes, I want to be able to simplify the shadow manually, I find a game:alt text

alt text

so, its shadow looks not strange,How can I do it ?

cat01.jpg (16.5 kB)
cat02.jpg (16.0 kB)
(comments are locked)
10|2000 characters needed characters left

Some Options:

  1. Unlit Decals if supported.

  2. Simple unlit material on a plane beneath character's feet. Only good for flat surfaces really (you can dynamically make it align to slopes and such). Needs animation if jumping, etc,

  3. Slightly more complicated material that samples distance behind itself to make shadow appear a bit more accurately. (still has flat ground issue)

more ▼

answered May 18 '16 at 05:51 PM

avatar image

RimmyD
2.6k 98 15 96

(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