Author Topic: How to remove the Color tint of Sprite?[Resolved]  (Read 5536 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
How to remove the Color tint of Sprite?[Resolved]
« on: November 13, 2012, 07:56:22 AM »
If I don't want  any color tint affect the Sprite how to remove it or disable it?
« Last Edit: November 14, 2012, 08:31:37 AM by xiaoniaojjj »

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: How to remove the Color tint of Sprite?
« Reply #1 on: November 13, 2012, 02:37:16 PM »
Make it white. 255,255,255

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: How to remove the Color tint of Sprite?
« Reply #2 on: November 13, 2012, 09:21:31 PM »
white still affect the alpha part of picture. please see the 0.jpg.   the border is black alpha ,but looks is white.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to remove the Color tint of Sprite?
« Reply #3 on: November 13, 2012, 10:02:03 PM »
You need to use the Solidify A filter by Flaming Pear. Do a search on the forum here.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: How to remove the Color tint of Sprite?
« Reply #4 on: November 14, 2012, 02:49:01 AM »
http://www.flamingpear.com/goodies.html

It's an error in your picture file, not an NGUI error. Outputting without the white border is a bitch, but the solidify doews it. Alternatively, make a background in photoshop (the layer in cursive) that's the color you want the alpha to fade against and it should also work.

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: How to remove the Color tint of Sprite?[Resolved]
« Reply #5 on: November 16, 2012, 04:03:29 AM »
Thanks for reply, Could you tell me how to use the Solidfy A ? I 've been download the plugs.
I just want to the result is 0.jpg in Atlase .Border is black alpha
« Last Edit: November 16, 2012, 04:07:36 AM by xiaoniaojjj »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to remove the Color tint of Sprite?[Resolved]
« Reply #6 on: November 16, 2012, 05:06:36 PM »
Save the transparency as selection, run the filter on the RGB channel, then paste the saved transparency into an Alpha channel, saving the image as PSD or TGA. There was a thread here that explained it in detail somewhere...