secondlife / jira-archive

3 stars 0 forks source link

[BUG-225208] Attached rigged mesh with "Full Bright" applied to textures with transparency and in "Alpha Masking" mode are not "Full Bright" #4065

Open sl-service-account opened 6 years ago

sl-service-account commented 6 years ago

What just happened?

Happens all the time.

What were you doing when it happened?

If a texture with transparent sections in it is made "Full Bright" and is set to "Alpha Mode" -> "Alpha Blending" it works as it is supposed to. Texture is bright and no environment lighting has any effect on it's color or brightness at all. However, if "Alpha Mode" is set to "Alpha Masking" this is not the case. It seems like it is maybe 80% Full Bright, but external lighting sources DO cause the texture to change color and brightness still. This happens in Advanced Lighting mode, but works correctly if Advanced Lighting is turned off.

What were you expecting to happen instead?

The lighting of a texture set to "Full Bright" with "Alpha Mode" set to "Alpha Masking" should look identical to a texture set to "Full Bright" with "Alpha Mode" set to "Alpha Blending".

Other information

1) I attached a screen shot of the issue in action. Both eyelids are seto to Full Bright. The eyelid on the left side of the picture is in "Alpha Blending" mode and the one on the right side of the image is in "Alpha Masking" mode. They are identical in "Color". Set at the same time in a color picker. External lights are brightening the texture set to Alpha Masking mode which shouldn't be possible with Full Bright turned on.

2) The objects in question that I noticed this issue on were on an attached weighted mesh.

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-225208 | | Summary | Attached rigged mesh with "Full Bright" applied to textures with transparency and in "Alpha Masking" mode are not "Full Bright" | | Type | Bug | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Farallon Greyskin (farallon.greyskin) | | Created at | 2018-08-04T04:15:43Z | | Updated at | 2018-09-10T07:32:24Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2018-08-15T00:15:11.140-0500', "Is there anything you'd like to add?": '1) I attached a screen shot of the issue in action. Both eyelids are seto to Full Bright. The eyelid on the left side of the picture is in "Alpha Blending" mode and the one on the right side of the image is in "Alpha Masking" mode. They are identical in "Color". Set at the same time in a color picker. External lights are brightening the texture set to Alpha Masking mode which shouldn\'t be possible with Full Bright turned on.\r\n\r\n2) The objects in question that I noticed this issue on were on an attached weighted mesh.', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'If a texture with transparent sections in it is made "Full Bright" and is set to "Alpha Mode" -> "Alpha Blending" it works as it is supposed to. Texture is bright and no environment lighting has any effect on it\'s color or brightness at all. However, if "Alpha Mode" is set to "Alpha Masking" this is not the case. It seems like it is maybe 80% Full Bright, but external lighting sources DO cause the texture to change color and brightness still. This happens in Advanced Lighting mode, but works correctly if Advanced Lighting is turned off. ', 'What were you doing when it happened?': 'Happens all the time.', 'What were you expecting to happen instead?': 'The lighting of a texture set to "Full Bright" with "Alpha Mode" set to "Alpha Masking" should look identical to a texture set to "Full Bright" with "Alpha Mode" set to "Alpha Blending".', 'Where': 'Anywhere', } ```
sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-08-15T05:15:11Z

Is that the Equestria's Pride avatar? https://marketplace.secondlife.com/p/Equestrias-Pride-Pony-Avatar/4366884

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-08-15T05:43:37Z

I can reproduce. Left cube is worn rigged mesh. Right cube is worn default box. Same texture applied to both cubes & set full bright. Local light shone on cubes.

Both cube textures set to alpha blending. ALM enabled: https://prnt.sc/kirioq ALM disabled: https://prnt.sc/kiriv3 Observe no discernable change in texture brightness when ALM enabled or disabled.

Both cubes set to alpha masking with mask cutoff of 4. ALM enabled: https://prnt.sc/kirjkf ALM disabled: https://prnt.sc/kirjpa Observe when ALM is enabled, texture on rigged cube only is washed out.

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-08-15T05:48:23Z, updated at 2018-08-15T05:52:38Z

Also reproduces on http://wiki.secondlife.com/wiki/Release_Notes/Second_Life_Release/5.1.3.514233, which is a build before the Love me Render changes, so this isn't new.

Reproduces on Firestorm & LL viewer. Test system:


Second Life Release 5.1.7.517973 (64bit)
Release Notes

CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (3491.96 MHz)
Memory: 16268 MB
OS Version: Microsoft Windows 7 SP1 64-bit (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 750/PCIe/SSE2

Windows Graphics Driver Version: 23.21.13.9135
OpenGL Version: 4.6.0 NVIDIA 391.35

Window size: 1920x1021
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 376m
Bandwidth: 700kbit/s
LOD factor: 1.125
Render quality: 5 / 7
Advanced Lighting Model: Enabled
Texture memory: 512MB
VFS (cache) creation time: July 31 2018 04:39:13

J2C Decoder Version: KDU v7.10.4
Audio Driver Version: FMOD Ex 4.44.64
Dullahan: 1.1.1080 / CEF: 3.3325.1750.gaabe4c4 / Chromium: 65.0.3325.146
LibVLC Version: 2.2.8
Voice Server Version: Not Connected
August 14 2018 21:52:13
sl-service-account commented 6 years ago

Farallon Greyskin commented at 2018-09-09T05:01:46Z

Sorry about the late reply. It is a new rigged bento avatar I made and just put up for sale.

https://marketplace.secondlife.com/stores/2759

 

 

sl-service-account commented 6 years ago

Whirly Fizzle commented at 2018-09-10T07:32:24Z

OMG, it's adorable. I love the animations :)