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

Question Simple 2d Sample destroys original?

Discussion in 'Shaders' started by jumpingjack, Feb 19, 2022.

  1. jumpingjack

    jumpingjack

    Joined:
    Nov 27, 2013
    Posts:
    6
    Hi! I'm only really learning with shaders and have hit a problem with just using the sample 2d texture when trying to follow a tutorial.
    I've pasted over the original image in the top left corner so you can see what the image is supposed to look like.
    Any idea what is causing this? I've played with different shader types but always get this strange warped result that is barely recognisable from the original sprite.
    I'm using URP.
    SampleError.png
     
  2. jumpingjack

    jumpingjack

    Joined:
    Nov 27, 2013
    Posts:
    6
    Ignore this - newbie error - the graph editor fills in the transparent background with garbage but comes out fine on the preview
     
    Last edited: Feb 19, 2022