Author Topic: shader problem (i suppose)  (Read 12190 times)

skatola

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 31
    • View Profile
shader problem (i suppose)
« on: April 17, 2015, 01:38:50 PM »
hi, i've a little problem with my atlas...
i made my app layout image in photoshop on the left and on the right is how i see it in unity used like ngui sprite, see attached image.
On unity my sprite seem like less contrasted, too much illuminated..
If i use image like a texture and not by atlas the colors are correct, why my atlas ruin my image? :(
how can i set atlas material shader for have the same contrast and same result on unity? have any idea? thank you
« Last Edit: April 17, 2015, 01:49:09 PM by skatola »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: shader problem (i suppose)
« Reply #1 on: April 18, 2015, 12:50:35 PM »
You need to use the Unlit/Transparent shader. Select the atlas material and choose the right shader there.

skatola

  • Newbie
  • *
  • Thank You
  • -Given: 4
  • -Receive: 0
  • Posts: 31
    • View Profile
Re: shader problem (i suppose)
« Reply #2 on: April 18, 2015, 07:18:29 PM »
unlit/transparent and unlit/trasparent colored have the same result, my image still appear different from original texture

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: shader problem (i suppose)
« Reply #3 on: April 20, 2015, 07:57:20 PM »
Sounds like you are using linear lighting with an older version of NGUI then.