Jump to content
Kouki Elska

Solutions for Mesh Hair alpha + lighting?

Recommended Posts

Hello all. I had a concern about creating mesh hair... I've actually been making hair for a long time in SL (since 2007), but the hair I've made before was either with sculpties or mesh but in anime/toon style with no alpha (Think of Sims 4 hair). So I've never before really had to deal much with alpha-textured hair... but now that I'm trying to get into making mesh hair with realistic alpha that can work for the realistic mesh faces to give the soft/wispy hair look... I'm having issues and would like some advice from anyone who makes hair or otherwise deals with alpha bugs on mesh.

I have attached two photos at the bottom, one where the problem is clearly visible, and the other where the problem does not exist... and the problem has to do with the lighting in-world.

There is a glitch that if you use the advanced lighting model and stand near certain kinds of lighting like spot lighting, the alpha ends of the hair will mismatch the rest of the hair by being more dimly-lit than the non-alpha or alpha-masked parts of the hair… The difference becomes more and more pronouonced as the "Ambiance" of the lighting goes up (this photo shows it under a spotlight with Ambiance of 1.0).

hair3.png.46800a322ffe285675046c3a4b0211b1.png

The only fix I could find was to either not stand near spot lights… disable local lights/advanced lighting model temporarily… or make a copy of the hair and using “edit linked objects” or “select texture”, select the alpha part of the hair, and switch the texture’s alpha mode to “Alpha Mask” with a “Mask cutoff” of 125.

But, I am trying to figure out if there's a way around this, because it's honestly kind of unreasonable to expect customers to just avoid areas and not complain or feel ripped-off (even though the hair is a group gift, but I want to learn for future hair I will want to make/sell, and update a fix for this one). And while setting the alpha mode to "Alpha Mask" does solve it, it makes the hair look too sharp like it's wet, which I am trying to avoid. >.< And while other hairs I have worn by other creators which has plenty of alpha (such as Dura or really any hair store!) also have some degree of glitching in spotlights, it's not as bad or obvious as with my hair. Unfortunately, I don't have hair creator friends to ask for advice, so I'm posting here.

 

If there's any tips for how you make hair with alpha, that manages to:

A: not suffer from the alpha bug where the strands bleed through each other, and...

B: not suffer so obviously from the spot lighting in SL.

 

I'd be very grateful.

 

Thanks in advance.

---

 

Inside a regular home in region windlight:

hair1.png


Inside the same home with flatter windlight, and facing away from the spot light source:

hair2.png

Edited by Kouki Elska

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...