Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

white halo on hair textures

Mallory Witt
Registered User
Join date: 6 Apr 2008
Posts: 1
09-14-2009 12:50
help! how can i get rid of this white halo on my hair textures? has an alpha background. have saved it both as tga and png and STILL has a halo!
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
09-14-2009 13:27
That's a well-recognized problem with many popular solutions. Rather than spell them all out here, I suggest that you....

(a) Read through the sticky thread on Transparency and Alpha Channels at the top of this forum, where white halo is discussed extensively and

(b) Do a search of this forum's archives (Look for the "Search This Forum" thingee at the top of his forum -- not the top of this thread and NOT the one that searches ALL forums), looking for "White Halo";).

You'l find all the information you ever wanted there. If you find it confusing or want to dig further into it, come back and post the question again. Good luck. ;)
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
09-14-2009 20:16
Rolig's right. Read the existing material to gain an understanding of what's happening. But here's the summary: color outside the lines. The key to avoiding halos is to make sure the coloring of your subject extends past the borders where opacity meets transparency.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
Robin Sojourner
Registered User
Join date: 16 Sep 2004
Posts: 1,080
09-22-2009 15:27
Hi! If you're having the problem with both .tga and .png, then I'm guessing that part of your workflow involves cutting the original hair textures away from a white or light colored background.

If that's the case, you might want to go to Layer > Matting and either pick "Remove White Mat" or "Defringe..." to get rid of that halo.

On the other hand, if you drew your hair in colors on transparent layers in PS, and you're having this problem, I would guess you're using "Fast Alphas" in SL itself. Fast Alphas often put white around things, because they work by eliminating 254 of the 256 levels of gray in the alpha channel. With Fast Alpha things are either transparent, or they're not. There is no semi-transparency.

So, if there are pixels in the Alpha channel that are semi-transparent (and there usually are, because of anti-aliasing) then you are very likely to see a white rim where those pixels are, in SL.

Turn off Fast Alpha, and the problem will vanish. (It's in the Advanced Menu. I can't use SL on this computer, so I can't tell you exactly where. I'll edit this later, or someone else can tell you.)

Hope this helps!
_____________________
Robin (Sojourner) Wood
www.robinwood.com

"Second Life ... is an Internet-based virtual world ... and a libertarian anarchy..." Wikipedia