Search Issue Tracker
Won't Fix
Votes
0
Found in
5.2.0f2
Issue ID
722999
Regression
Yes
[SurfaceShader] LightToTangent space optimization got lost in 5.0, GPU rendering slower than with Unity 4.6
How to reproduce:
1. Open attached project in 4.6
2. Build to iOS and run
- Note the frame time in the FPS debug window in Xcode
3. Open project in the latest version of Unity
4. Build to iOS and run
- Note how the frame time is 50 to 90 percent larger than in 4.6
By Design:
- One of the reasons of the performance drop is caused by the way Surface Shaders are compiled in 5.0.
- Light calculations are now always performed in world space, allowing non-uniformly scaled objects to be rendered correctly. That results in additional shader operations in the pixel shader.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Add comment