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. 

[Closed] Shader Complexity shows extremely bad result after moving to Forward Rendering in 4.14


I've noticed that the Shader Complexity view mode is showing some extreme results after moving to 4.14's Forward Rendered pass.

Any hints as to what could be going wrong?

The following picture showed everything as green before Forward Rendering was enabled. It shows the same poor results even when using the most simple Actors with a Cuboid Mesh and a single node Material.

alt text

Product Version: Not Selected
more ▼

asked Jan 10 '17 at 10:59 PM in Rendering

avatar image

Answers.Archive STAFF
1.9k 200 311 682

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

The question has been closed Jan 10 '17 at 11:08 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted

1 answer: sort voted first

The shader complexity viewmode works by visualizing all shader instructions in the base pass. In the deferred renderer, a lot of features which contribute hundreds of instructions are in separate passes - deferred lighting, deferred reflections, area lights, tube lights, etc. In the forward renderer, all of those features are present in the base pass, although skiped with dynamic branching if they are not currently enabled, so shader complexity gets messed up.

We need to change the behavior of shader complexity such that it subtracts out built-in code feature overhead, which would get back to a useful state. I'm not sure when we'll be able to work on this though.

more ▼

answered Jan 10 '17 at 10:59 PM

avatar image

Answers.Archive STAFF
1.9k 200 311 682

avatar image Answers.Archive STAFF Jan 10 '17 at 10:59 PM

Duly noted! I suspected something along these lines, but thought I should confirm...

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question