Hi Guys,
I have a UI (Screen Space - Overlay), with a Raw Image. That image has a render texture attached, being used by another camera. I’m making that other camera move around the level, while the camera with the overlay attached stays still. For some reason when I make the camera move around, the static meshes show as being cut up; only show parts of themselves at a time, instead of the whole thing. As you move around different parts of the static meshes in the scene are not visible, making this weird jittering effect. I have a standard render texture with:
Size: Platform specific with this code:
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class SetResolution : MonoBehaviour {
RenderTexture renderTexture;
void Awake ()
{
renderTexture = GetComponent<RawImage>().texture as RenderTexture;
renderTexture.height = Screen.height;
renderTexture.width = Screen.width;
}
}
Anti-Aliasing: 8 Samples
Color Format: ARGB32
Depth Buffer: 24 bit depth
Wrap Mode: Clamp
Filter Mode: Bilinear
Aniso Level: 0
Does anyone know what’s wrong?