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"

Dynamic light caching and dynamic buffer

Does setting the buffer usage flag to BUF_Dynamic automatically affects the dynamic light caching for this mesh? For my test mesh, it seems that just by changing this flag, the ShadowDepths statistic goes from ~12.52ms to ~21.03ms.

On the other hand, setting the proxy's bGoodCandidateForCachedShadowmap to false or the Mobility to Movable (as per IsMeshShapeOftenMoving()) doesn't seem to raise the same statistic (it does degrade the overall performance a little tho).

alt text

Product Version: UE 4.19
Tags:
bufdyn.jpg (56.6 kB)
more ▼

asked Jun 25 '18 at 01:16 PM in Rendering

avatar image

phoboz
1k 38 13 61

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

1 answer: sort voted first

Exactly which buffer are you changing in the engine? BUF_STATIC vs BUF_DYNAMIC is going to move you from D3D11_USAGE_DEFAULT to D3D11_USAGE_DYNAMIC which could have various effects depending on the driver and HW.

more ▼

answered Jul 28 '18 at 01:39 AM

avatar image

Waurelius STAFF
21 2 1

avatar image phoboz Jul 28 '18 at 05:27 AM

At the moment I have a static vertex buffer with dynamically constructed index buffer - essentially a dynamically built LOD

(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