Uploaded image for project: 'Firestorm'
  1. Firestorm
  2. FIRE-12496

[BUG-4709] [MAINT-3580] On Materials enabled viewers, textures containing alpha display as full bright if basic shaders are disabled

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Phoenix Firestorm 4.5.1, Phoenix Firestorm 4.5.2
    • Component/s: Rendering
    • Environment:
    • SL Avatar Name:
      Ravuscale Goldshark
    • Reported In:
      Firestorm 4.5.1.38838 Beta Release

      Description

      Full bright issue as shown In attachment. Not previously existing in pre beta client v4.4.2.3167, Issue resolves when basic shaders is checked. Problematic for my computer since basic shaders would cause my laptop to spontaneously combust. Have already done a proper clean instal.

      EDIT (Whirly):

      Steps To Reproduce

      1. Rez a cube and add any diffuse texture containing alpha. I attached the test texture I used for my attached images. Leave the alpha mode on default (alpha blending).
      2. Set sun to sunset (not vital step, it just makes the problem easier to see).
      3. Observe how the texture appears on the cube with both basic shaders enabled and disabled.
      4. Compare results on a pre-materials viewer build.

      Observed Behaviour.

      • With basic shaders enabled, the texture renders as expected.

      • With basic shaders disabled, the texture renders as if full bright is enabled.

      • On pre-material viewer builds, the texture renders correctly with basic shaders disabled. It does not appear full bright.

      Expected Behaviour

      Textures containing alpha should not display as full bright when basic shaders are disabled. Especially textures set to the default of alpha blending which is not a new materials feature.

      This is a complaint we have had from a lot of Firestorm users on low end systems who cannot enable basic shaders since we released with materials.

      Other Information.

      On materials enabled viewers with basic shaders disabled, any texture set to alpha blending or alpha masking will be full bright.
      Textures set to emissive mask are not full bright.

      Questions.

      Please can someone verify if these 2 other cases with alpha modes are expected behaviour?
      If not I will file issues for them.

      Alpha Masking

      • Using same repro object as above, set alpha mode to alpha masking with mask cutoff = 0
        With basic shaders enabled (ALM can be enabled or disabled, result is the same) you will see:

      With basic shaders disabled you will see:

      Is it expected that alpha masking does not work when basic shaders are disabled?
      I cannot find any documentation that states if this is expected or not.

      Emissive Mask

      • Using same repro object as above, set alpha mode to Emissive mask.
      • With ALM disabled you will see:

      • With ALM enabled you will see:

      Is it expected that emissive mask only works with ALM enabled?
      Pretty sure this one is expected but again I cant find any docs actually stating that.

      Thanks

      1. basic shaders disabled.png
        884 kB
      2. basic shaders enabled.png
        803 kB
      3. Fig 1.png
        757 kB
      4. Fig 2.png
        722 kB
      5. Fig 3.png
        887 kB
      6. Fig 4.png
        815 kB
      7. Fig 5.png
        772 kB
      8. Fig 6.png
        907 kB
      9. Fig 7.png
        427 kB
      10. Fig 8.png
        383 kB
      11. MyFirestromIssue.PNG
        787 kB
      12. test.png
        13 kB

        Issue Links

          Activity

          Hide
          whirly.fizzle Whirly Fizzle added a comment - - edited

          Heya Ravuscale,

          I can reproduce this on Firestorm 4.5.2 (39775) Dec 11 2013 03:18:01 (Firestorm-Fizzlefire) with OpenSimulator support at the location you gave.

          Location given in image: http://maps.secondlife.com/secondlife/Ponyvale/22/89/32

          See my 2 attached images, basic shaders enabled & basic shaders disabled.

          • When basic shaders are disabled, certain objects appear to be full bright.
          • Examining one wall of the house, the texture is set to alpha masking - See Fig 1
            Changing the texture to emissive mask "fixes" the full bright effect when basic shaders are disabled see Fig 2
            Setting the texture to alpha blending looks the same as alpha masking.
          • If I set graphics to default mid-high and then disable basic shaders, I see the same as attached in my basic shaders disabled image - see Fig 3 for a clean shot.
          • If I then untick local lights, you can see the yellow hue on part of the walls and door and beams goes away.
            Also you can see the the further away house walls show some panels being a lot darker - see Fig 4.
          • The yellow hue appears to be from the sun. Changing the sun position will change which of the affected full bright looking objects have the yellow hue.

          I suspect this issue is related to https://jira.secondlife.com/browse/BUG-4176 (Objects with curved surface are darker than in previous viewers when Basic Shaders are disabled.) even though it appears the opposite is happening.

          Im going to move this over to the bug section and also file an issue for it on the LL JIRA because this reproduces in the same way on Viewer 3.

          Ill also try to come up with a simple repro to produce this effect on a sumple cube prim.

          Note to self: Alpha blending and emissive mask are broken when basic shaders are disabled - expected?

          Images taken on 4.4.2 release for comparison:

          Fig 5 - 4.4.2 basic shaders enabled.
          Fig 6 - basic shaders disabled.

          The yellow hue from the sun when shaders are disabled is actually the same effect on 4.4.2 so this appears to be expected.

          On 4.4.2 though, the affected objects do not appear full bright when basic shaders are disabled.
          Fig 7 - affected wall with basic shaders enabled on 4.4.2
          Fig 8 - affected wall with basic shaders disabled on 4.4.2
          Note on Fig 8, the door surrounds look broken because 4.4.2 doesnt support alpha masking.

          My testing system:

          Firestorm 4.5.2 (39775) Dec 11 2013 03:18:01 (Firestorm-Fizzlefire) with OpenSimulator support
          Release Notes
          
          You are at 25.5, 92.3, 32.2 in Ponyvale located at sim10317.agni.lindenlab.com (216.82.50.39:13021)
          SLURL: http://maps.secondlife.com/secondlife/Ponyvale/25/92/32
          (global coordinates 255,257.0, 282,972.0, 32.2)
          Second Life Server 13.11.22.284268
          Release Notes
          
          CPU: Intel(R) Core(TM)2 Quad CPU    Q8300  @ 2.50GHz (2493.75 MHz)
          Memory: 3326 MB
          OS Version: Microsoft Windows Vista 32-bit Service Pack 2 (Build 6002)
          Graphics Card Vendor: NVIDIA Corporation
          Graphics Card: GeForce GT 230/PCIe/SSE2
          
          Windows Graphics Driver Version: 9.18.0013.3193
          OpenGL Version: 3.3.0
          
          RestrainedLove API: RLV v2.7.0 / RLVa v1.4.9a
          libcurl Version: libcurl/7.24.0 OpenSSL/1.0.1e zlib/1.2.5 c-ares/1.10.0
          J2C Decoder Version: KDU v7.3.2
          Audio Driver Version: FMOD Ex 4.44.26
          Qt Webkit Version: 4.7.1 (version number hard-coded)
          Voice Server Version: Vivox 4.5.0009.17865
          
          Settings mode: Hybrid
          Viewer Skin: Firestorm (CtrlAltStudio)
          Font Used: Deja Vu (96)
          Draw distance: 128
          Bandwidth: 1500
          LOD factor: 2
          Render quality: Medium-High (4/7)
          Texture memory: 384 MB (1)
          Built with MSVC version 1600
          Packets Lost: 0/8,046 (0.0%)
          
          Show
          whirly.fizzle Whirly Fizzle added a comment - - edited Heya Ravuscale, I can reproduce this on Firestorm 4.5.2 (39775) Dec 11 2013 03:18:01 (Firestorm-Fizzlefire) with OpenSimulator support at the location you gave. Location given in image: http://maps.secondlife.com/secondlife/Ponyvale/22/89/32 See my 2 attached images, basic shaders enabled & basic shaders disabled. When basic shaders are disabled, certain objects appear to be full bright. Examining one wall of the house, the texture is set to alpha masking - See Fig 1 Changing the texture to emissive mask "fixes" the full bright effect when basic shaders are disabled see Fig 2 Setting the texture to alpha blending looks the same as alpha masking. If I set graphics to default mid-high and then disable basic shaders, I see the same as attached in my basic shaders disabled image - see Fig 3 for a clean shot. If I then untick local lights, you can see the yellow hue on part of the walls and door and beams goes away. Also you can see the the further away house walls show some panels being a lot darker - see Fig 4. The yellow hue appears to be from the sun. Changing the sun position will change which of the affected full bright looking objects have the yellow hue. I suspect this issue is related to https://jira.secondlife.com/browse/BUG-4176 (Objects with curved surface are darker than in previous viewers when Basic Shaders are disabled.) even though it appears the opposite is happening. Im going to move this over to the bug section and also file an issue for it on the LL JIRA because this reproduces in the same way on Viewer 3. Ill also try to come up with a simple repro to produce this effect on a sumple cube prim. Note to self: Alpha blending and emissive mask are broken when basic shaders are disabled - expected? Images taken on 4.4.2 release for comparison: Fig 5 - 4.4.2 basic shaders enabled. Fig 6 - basic shaders disabled. The yellow hue from the sun when shaders are disabled is actually the same effect on 4.4.2 so this appears to be expected. On 4.4.2 though, the affected objects do not appear full bright when basic shaders are disabled. Fig 7 - affected wall with basic shaders enabled on 4.4.2 Fig 8 - affected wall with basic shaders disabled on 4.4.2 Note on Fig 8, the door surrounds look broken because 4.4.2 doesnt support alpha masking. My testing system: Firestorm 4.5.2 (39775) Dec 11 2013 03:18:01 (Firestorm-Fizzlefire) with OpenSimulator support Release Notes You are at 25.5, 92.3, 32.2 in Ponyvale located at sim10317.agni.lindenlab.com (216.82.50.39:13021) SLURL: http: //maps.secondlife.com/secondlife/Ponyvale/25/92/32 (global coordinates 255,257.0, 282,972.0, 32.2) Second Life Server 13.11.22.284268 Release Notes CPU: Intel(R) Core(TM)2 Quad CPU Q8300 @ 2.50GHz (2493.75 MHz) Memory: 3326 MB OS Version: Microsoft Windows Vista 32-bit Service Pack 2 (Build 6002) Graphics Card Vendor: NVIDIA Corporation Graphics Card: GeForce GT 230/PCIe/SSE2 Windows Graphics Driver Version: 9.18.0013.3193 OpenGL Version: 3.3.0 RestrainedLove API: RLV v2.7.0 / RLVa v1.4.9a libcurl Version: libcurl/7.24.0 OpenSSL/1.0.1e zlib/1.2.5 c-ares/1.10.0 J2C Decoder Version: KDU v7.3.2 Audio Driver Version: FMOD Ex 4.44.26 Qt Webkit Version: 4.7.1 (version number hard-coded) Voice Server Version: Vivox 4.5.0009.17865 Settings mode: Hybrid Viewer Skin: Firestorm (CtrlAltStudio) Font Used: Deja Vu (96) Draw distance: 128 Bandwidth: 1500 LOD factor: 2 Render quality: Medium-High (4/7) Texture memory: 384 MB (1) Built with MSVC version 1600 Packets Lost: 0/8,046 (0.0%)
          Hide
          whirly.fizzle Whirly Fizzle added a comment -

          Okay, worked out whats going on here.

          I will edit the issue description to add the repro I just filed on the LL JIRA.

          Show
          whirly.fizzle Whirly Fizzle added a comment - Okay, worked out whats going on here. I will edit the issue description to add the repro I just filed on the LL JIRA.

            People

            • Assignee:
              shouldbeworkingonit.linden ShouldBeWorkingOnIt Linden
              Reporter:
              mirror_image Mirror Image
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: