Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-7263] Alpha masking does not work when ALM is enabled if the object has a legacy bump set. #14996

Open
sl-service-account opened this issue Sep 13, 2014 · 1 comment

Comments

@sl-service-account
Copy link

sl-service-account commented Sep 13, 2014

Steps To Reproduce

  • Rez a box prim

  • Apply a diffuse texture containing alpha to the box prim - for example Test png.png attached.

  • Set Alpha Mode to Alpha Masking with a Mask Cutoff of 5.

  • Observe that alpha masking works as expected when ALM is enabled or disabled - see Fig 1 attached.

  • Set Bumpiness to any legacy setting, for example Darkness.

  • Observe the box prim with both ALM enabled and ALM disabled.

    Observed Behaviour

  • When ALM is enabled, the diffuse texture is not masked - see Fig 2 attached.

  • When ALM is disabled, the diffuse texture is masked correctly - see Fig 3 attached.

    Expected Behaviour

    Alpha masking should work when ALM is enabled on objects using legacy bump.

    Other Information

    I saw a tree yesterday that was really broken when ALM was enabled and this turned out to be the cause - the tree had alpha masking set on the foliage (a common trick to stop alpha fighting) and the foliage also had a Darkness bumpmap set. Darkness and brightness legacy bumpmaps are still widely used on new content.
    See Fig 4 & 5 attached.
    Fig 4 - ALM disabled.
    Fig 5 - ALM enabled.

Attachments

Original Jira Fields
Field Value
Issue BUG-7263
Summary Alpha masking does not work when ALM is enabled if the object has a legacy bump set.
Type Bug
Priority Unset
Status Accepted
Resolution Accepted
Reporter Whirly Fizzle (whirly.fizzle)
Created at 2014-09-13T22:09:14Z
Updated at 2015-06-25T13:30:27Z
{
  'Business Unit': ['Platform'],
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': '.',
  'What were you doing when it happened?': 'Filling in....',
  'What were you expecting to happen instead?': '.',
}
@sl-service-account
Copy link
Author

Whirly Fizzle commented at 2015-06-25T13:30:28Z

This is fixed in Lion: https://bitbucket.org/lindenlab/viewer-lion/commits/ad0c6a5a7bfa3b2300b685ba2a7ba685aca86eaa

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant