- Home /
Problem rendering in 2D whit perspective camera
Hi, i am trying to make a game for a research project on Unity 2D. For the moment i am trying to create a prallax effect usign a perspective camera instead of an orthographic camera. But when i activate the perspective camera i get some rendering problem.
Now look at the same view whit the orthographic camera.
This is causing serious problem because the player can't see where he is jumping. I have tried to create a parralax effect by translating the background but the result is giving me serious headahce, because the camera is parented to the pig. So if somebody know why i have this problem please tell me and thanks in advance.
$$anonymous$$ake the camera with the parallax using a 2nd orthographic camera and make it a repeating texture and change the offset over time. f.e.:
void Update () {
renderer.material.mainTextureOffset = new Vector2(1, 0) * Time.time;
}
Your answer
Follow this Question
Related Questions
parallax scrolling using orthographic camera 1 Answer
Infinite Parallax Background 2 Answers
How to Manually Move the Camera Horizontally or Vertically? (2D, Parallax), 0 Answers
Pixel perfect multiple cameras 0 Answers
Looking for picture in picture effect using Canvas Elements and Cinemachine follow target 0 Answers