Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved [Fixed] Orthogonal Camera and Direciton Light causing super bright spots

Discussion in 'Global Illumination' started by The_Craeb, Jul 21, 2022.

  1. The_Craeb

    The_Craeb

    Joined:
    Aug 3, 2017
    Posts:
    2
    I'm setting up a top-down game and want to use an ortho camera but be able to have objects cast simple shadows. Everything is fine with a directional light, except the flat texture for the background. When the light gets to steep angles, an extremely bright area grows ever larger. It looks fine in perspective (as per the editor window on the right). I'm not sure if the way I'm setting things up is an antipattern, but I haven't been able to find anything that describes the kind of lighting solution I want.

    Can the ortho camera lighting look more diffuse like in the perspective mode? Or is this just not how it works and I'm misunderstanding something?

    Edit: It was the specular highlights on the material I was using which was causing the problem.
     

    Attached Files:

    Last edited: Jul 21, 2022
    kristijonas_unity likes this.