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

Applying shader to 2d sprite(change texture of 2d sprite for day and night cycle)

Discussion in '2D' started by AbhishekKaushik, Feb 22, 2017.

  1. AbhishekKaushik

    AbhishekKaushik

    Joined:
    Jan 8, 2017
    Posts:
    10
    Hi Guys....Im having a 2d sprite(Mountain) i want to achieve the colour change for day and night cycle. i have created a material with texture for day and night cycle but if i rotate the offset value there is no effect in the texture. For example in the morning it should be brown color,afternoon it should be orange,night it should be violet..like so.

    pls help me... :}