summaryrefslogtreecommitdiff
path: root/indra/newview/character
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2010-01-04 18:36:30 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2010-01-04 18:36:30 -0500
commit989207faf74b98928b6b3d6c4fe09b7b7973c627 (patch)
treed41dab5c78bd30f01f60021e0abde6a2cfcdb580 /indra/newview/character
parent6157187e5bdff889613673f11852d9c25f96bf92 (diff)
EXT-2974 Alpha mask textures not applied immediately
Eyelashes were causing the avatar's head to disappear on a non-cached outfit if you created an alpha mask object through the appearance editor even though you didn't select the head to be invisible. This would not affect the baked texture, only the local composite. No clue exactly why the symptom was what it was, but the way we were using eyelashes was the source of the problem. Moving the special-case eyelashes to an alpha mask layer fixes the issue. -Nyx
Diffstat (limited to 'indra/newview/character')
-rw-r--r--indra/newview/character/avatar_lad.xml12
1 files changed, 9 insertions, 3 deletions
diff --git a/indra/newview/character/avatar_lad.xml b/indra/newview/character/avatar_lad.xml
index ae89eb4413..448e20b382 100644
--- a/indra/newview/character/avatar_lad.xml
+++ b/indra/newview/character/avatar_lad.xml
@@ -5608,9 +5608,7 @@
<layer_set
body_region="head"
width="512"
- height="512"
- clear_alpha="false"
- alpha_tga_file="head_alpha.tga">
+ height="512">
<layer
name="head bump base"
fixed_color = "128,128,128,255"
@@ -6609,6 +6607,13 @@ render_pass="bump">
local_texture="head_bodypaint" />
</layer>
<layer
+ name="eyelash alpha"
+ visibility_mask="TRUE">
+ <texture
+ tga_file="head_alpha.tga"
+ file_is_mask="TRUE" />
+ </layer>
+ <layer
name="head alpha"
visibility_mask="TRUE">
<texture
@@ -6620,6 +6625,7 @@ render_pass="bump">
local_texture="head_tattoo" />
</layer>
+
</layer_set>
<!-- =========================================================== -->