Search Issue Tracker
By Design
Votes
1
Found in
4.3.0f4
Issue ID
576770
Regression
No
Depth only camera clear flag together with image effect greatly reduce FPS on the device
Using image effects (in this case Grayscale Effect) together with the "Depth only" camera clear flag drastically reduces FPS on the device. The application has 60 fps with "Solid Color" clear flag, however with the "Depth only" clear flag it has only 3 fps. It is a regression on some of the devices. With Unity 4.2.2f1 the fps dropped to 15-25 on the Google Galaxy Nexus, but with Unity 4.3.4f1 it drops all the way down to 3 fps. On the other hand on Google Nexus 5 the fps drops to 3 in both Unity 4.2.2f1 and 4.3.4f1.
Reproduced on:
Google Nexus 5 with Android 4.4
Google Galaxy Nexus with Android 4.3
Reproduced with:
Unity Version 4.3.1f1 (cebd4d9b5122)
[Edit]
The workaround the user found in this case was to use a single camera and to render the image as a quad. By using a single camera, they avoided the 'Depth-only clear' which is slow on this hardware.
Resolution:
This is expected behavior. Clearing depth only means that the GPU must do framebuffer unresolve in order to retain the previous color surface contents.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
KuangZheng
Jul 31, 2014 00:55
Is there any way to add image effect in Depth only camera without performance problem?