Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-18 06:36:05



Reply to topic  [ 2 posts ] 
1.26.3 Alpha Layers go away in Linux 
Author Message

Joined: 2011-09-04 04:02:54
Posts: 1
Reply with quote
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.


2011-09-04 04:09:56
Profile

Joined: 2009-03-17 18:42:51
Posts: 6037
Reply with quote
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...


2011-09-04 08:39:06
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: Bing [Bot] and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.