[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.
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
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.
answered Jan 10 '17 at 10:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here