Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Reverse Sprite diffuse shader lighting

Discussion in 'Shaders' started by raycosantana, Oct 24, 2019.

  1. raycosantana

    raycosantana

    Joined:
    Dec 23, 2012
    Posts:
    319
    Hi!
    Im trying to make a Doom clone but while trying to use Sprite Diffuse shader I noticed the lighting in my sprites is backwards, I mean when using a directional light sprites that should be lit are dark and sprites that should be dark are lit. See Images below.

    Any way I can fix this?

    Thanks in advance.
     

    Attached Files:

    Last edited: Oct 24, 2019
  2. raycosantana

    raycosantana

    Joined:
    Dec 23, 2012
    Posts:
    319
    Anyone? Please? :oops: