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"

Static and Dynamic shadows

Hello! I have 2 questions. 1) I have one directional stationary light with cascaded shadow map. I need make for some objects always cast static shadows. 2) How to make object always cast dynamic shadows without distance.

Please help me. Sorry for my English ;)

Product Version: Not Selected
Tags:
more ▼

asked Sep 12 '14 at 12:35 PM in Rendering

avatar image

swatsam
6 1 3 5

avatar image birdfreeyahoo Sep 12 '14 at 12:55 PM

I don't really understand your questions.

avatar image swatsam Sep 12 '14 at 01:05 PM

Sorry) 1) How to make Static Mesh always cast static shadows. If my camera is near shadows they become dynamic. If in setting i off cast dynamic shadows, they become invisible. 2) If my camera is too fare dynamic shadows disappear. I what that my dynamic shadows always can be visible regardless of distance shadow cascade.

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

1 answer: sort voted first

1) You can change the shadow parameters for objects in the details panel to affect how they receive and cast shadows.

2) There is a limited distance on how far and accurate dynamic shadows will cast. This is for performance reasons. Everything in the level cannot be dynamically lit at any distance all the time. You can set the max distance though which is 20,000.

This is also where stationary lights come in as a good balance between the two. Static shadows can be seen from any distance since they are baked into a lightmap. You can see the max dynamic distance and then as you get further away the static shadow will take over.

Thank you!

Tim

more ▼

answered Sep 12 '14 at 01:58 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 879

avatar image swatsam Sep 13 '14 at 08:44 AM

"1) You can change the shadow parameters for objects in the details panel to affect how they receive and cast shadows." Yes, all static meshes have two settings 1) cast static shadows 2) cast dynamic shadows. When i uncheck cast dynamic shadows and when my camera near the SM, it's not cast any shadows. It's cast shadows when distance more then in cascaded shadow map. How to repair this?

Thank you for help!

avatar image Tim Hobson ♦♦ STAFF Sep 15 '14 at 06:12 PM

I've just tested this based on your comment, but was unable to get the same results. All you may need to do is just hit "Build" to rebuild your lighting. This was all I needed to do. Give that a shot and let me know how it goes. :)

Tim

(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