Cool VL Viewer forum
http://sldev.free.fr/forum/

1.26.3 Alpha Layers go away in Linux
http://sldev.free.fr/forum/viewtopic.php?f=4&t=560
Page 1 of 1

Author:  GeoOrellana [ 2011-09-04 04:09:56 ]
Post subject:  1.26.3 Alpha Layers go away in Linux

Not sure if this has been reported or if it is just me but today I discovered that when you turn on transparency (ctl+alt+t) Alpha layers being worn by any avatar disappear, so for example if they are using an alpha layer for shoes, it will disappear and you will be able to see their feet sticking out of the shoes.

Author:  Henri Beauchamp [ 2011-09-04 08:39:06 ]
Post subject:  Re: 1.26.3 Alpha Layers go away in Linux

It's not a bug, but a feature... It is clearly commented as such, in llvoavatar.cpp:
Code:
U32 LLVOAvatar::renderSkinned(EAvatarRenderPass pass)
{
.../...
   if (pass == AVATAR_RENDER_PASS_SINGLE)
   {
      const bool should_alpha_mask = mSupportsAlphaLayers && mHasBakedHair
                               && !LLDrawPoolAlpha::sShowDebugAlpha // Don't alpha mask if "Highlight Transparent" checked
                              && !LLDrawPoolAvatar::sSkipTransparent;
.../...
}
And in fact, if v1.26.0 and former versions didn't do it, it might well be because I didn't spot this line when I did the Alpha wearable backport one year and a half ago... (EDIT: v1.26.0 behaves the exact same way).

I suppose that the rationale is that since we can't highlight the alpha-masked (and thus "transparent") parts of an avatar shape, it makes sense to cease alpha-masking them instead when the "Highlight transparent" debug feature is on...

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/