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"

GPU Skin Cache's efficiency

I have set the GEnableGPUSkinCacheShaders to 1 and use "r.SkinCache.Mode 1" to make UE4 use compute shader skinning, I found that it is not more effective than vertex shader skinning...Why? Is there still some problem in GPU Skin Cache, or I did the wrong operation? There are 300 SkeletonMeshes in my scene and they are doing the same animation. I do this test at Win64 platform and my GPU is GTX1080. Could anyone help? Thx~

Product Version: UE 4.21
more ▼

asked Jan 03 '19 at 06:59 AM in Rendering

avatar image

1 1

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

1 answer: sort voted first

With 300 characters your bottlenecks are more likely to be updating the actual animations than skinning the geometry. You should profile to identify what is costing performance:

https://docs.unrealengine.com/en-US/Engine/Performance/CPU https://docs.unrealengine.com/en-US/Engine/Performance/GPU

Also, compute shader skinning still does the same calculations as the vertex shader skinning. The only advantage is that the results are cached for re-use on different passes in the same frame (shadows, planar reflections, scene capture) and they can use async compute on consoles.

more ▼

answered Jan 03 '19 at 03:32 PM

avatar image

112 2 3 4

avatar image Xiangwk Jan 04 '19 at 01:25 AM

Thanks, I am going to have a try~

avatar image Xiangwk Jan 04 '19 at 06:18 AM

I have thought that it is not a bottleneck problem, i mean i compared the efficiency between vertex shader skinning and compute shader skinning, i thought the compute shader skinning may be more effective than vertex shader skinning but the fact is contrary. And i found that UE4 turn the GPUSkinCache off by default. So i want to know is it really a bad work or i do some wrong operation? Thx~

(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