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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Why are shadowmap frustums so large in spotlights?

When I visualize shadowmap frustums in the editor, I see they are HUGE, especially when compared to the related spotlight's attenuation radius. The problem is not their width or aperture, they fit quite tightly around the attenuation radius volume, but the depth. I would expect the frustums to set their zfar at the attenuation radius volume far end, but they continue for thousands of unreal units, I'd say they are 3 to 5 times as deep as their related attenuation volume.

Since this is including tons of geometry that is never going to cast a shadow it can have a great performance impact. Is there a reason for this that I'm unaware of or is it a bug?

Product Version: UE 4.9
Tags:
more ▼

asked Oct 19 '15 at 01:20 PM in Rendering

avatar image

Gatherer
71 6 8 17

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

1 answer: sort voted first

Hi Gatherer -

The Shadow Frustum that is drawn in when you enable visualization is the region that the light's shadowmap covers, but the actual culling of shadow casters is calculated by the Cone.

Thank You

Eric Ketchum

more ▼

answered Oct 29 '15 at 07:58 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

(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