Search Issue Tracker
Fixed in 5.0.1
Votes
0
Found in
4.2.0f4
Issue ID
559254
Regression
No
OnRenderImage breaks batching for shadow caster/collector
I found that using OnRenderImage with shadow will breaks shadow batching in Unity 4.2.
I attach a post-processing script to camera. It only contains a simple
OnRenderImage method which only do Graphics.Blit(source, destination).
When the post-processing script is disabled and hard-shadow is enabled, # of draw calls is 9.
However, when the post-processing script and hard-shadow are both enabled, # of draw calls becomes 70.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Screen.SetResolution immediately applies windowed resolution when switching from Fullscreen to Windowed mode
- Lighting window allows non-cube map texture for Environment Reflections, throwing invalid texture type (2D) error
- Console warning “MismatchingRepositoryProjectMessage” when creating a new Unity Version Control workspace
- [Ubuntu] VFX Graph Enum Value menu stretches across screen when entered long Enum Value
- Unclear warning message in Rendering Debugger about the Play mode Debugger Overlay
Add comment