- Home /
Odd "waterfall" or smearing error in background
I thought I posted this yesterday, but I don't see it anywhere. We are making a small mod to an existing iPhone game, and (are told) we have the latest version of the code. We (are told) that it was Unity 2.6 originally. When we build it the background kind of smears like it is not erasing the objects as they scroll by. There are three screen shots of the game showing this in various degrees.
We figure this is likely a version issue where we need to make a basic change, or an error in the code that is not erasing certain classes of objects properly, but don't really know where to start.
Any ideas what is going on or what we need to look at?
In the first shot you see the waterfall effect. There should be three skaters. One at left, center, and right. But the images of the skaters as the move between positions is still there. The "Start" sign and orange lettering also should not be visible, as it came from the previous screen.
The bottom 2/3 of this is perfect and has no errors. The roof lines, trees, and sky are the problems here. The trees have smeared, the roof of the brick building is arched above the door, and the sky is just wrong.
Again, everything below the head level is fine. The trees and sky are messed up, and you can see a remnant of the players head from a jump that happened earlier in the scene.
Answer by Jessy · Apr 07, 2011 at 07:12 PM
Your camera's Clear Flags is set to Don't Clear.
http://unity3d.com/support/documentation/Components/class-Camera.html
You can only use that mode if you are sure that you're going to write to all pixels of the screen. You'll need to decide what you actually want to see, where no meshes are rendering.
All of the camera flags were set properly. The app runs under the Unity simulator (driven by Unity Remote) with no visual issues. When it's built and run on a device (iPhone) it exhibits the $$anonymous$$ring and overlay issues. We are currently building with the latest (3.3) Unity and Xcode.
The app was originally developed over a year ago under Unity 2.6 (or earlier).
Depth Only could yield the same result too, depending on setup, sorry. There's something in the background that isn't being rendered on the device. What arm/OpenGL build settings and devices have you tested? $$anonymous$$y guess now is that you are using an unsupported feature for the background.
Your answer
Follow this Question
Related Questions
Screen flickers when app is moving to background 0 Answers
Specifying a high quality background image for iPad 1 Answer
Adapting to iOS screen sizes ? 0 Answers
How to implement an ammo counter using textured quads? [Scripting doubts] 2 Answers
Does using "half res" in the quality settings reduce texture RAM usage? 1 Answer