Details

    • Type: Story
    • Status: Closed
    • Priority: Unset
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: Active
    • Labels:
      None
    • Environment:
      -

      Description

      I added support for a third (mid-range) level to shadows, for alpha values in the shadow-caster which are reasonably semi-transparent.

      BRANCH IS HERE: https://bitbucket.org/tofu_linden/viewer-development-plus-gradedshadows

      This works fine and stuff, and it's of extremely similar cost to the binary shadow (it doesn't incur any more texture reads etc).
      The downside is that the pcf sampling position is a bit more quantized along one of the shadow map axes. I added some handwaving to hide that fact (disguising the loss of freedom with some more fuzzing, including turning the pcf function into a plain averaging function and adding some jitter).

      I'll do some comparison screenshots and stuff when I have the time/energy.

        Attachments

        1. alphathingy_001.png
          alphathingy_001.png
          684 kB
        2. gr8d shadow sun overhead shown as column_001.jpg
          gr8d shadow sun overhead shown as column_001.jpg
          935 kB
        3. gr8d shadow  sun shown as column_001.jpg
          gr8d shadow sun shown as column_001.jpg
          141 kB
        4. projectedlight-shadowgradient.JPG
          projectedlight-shadowgradient.JPG
          66 kB
        5. screenshot_3.3.0.png
          screenshot_3.3.0.png
          93 kB
        6. screenshot_storm-1819.png
          screenshot_storm-1819.png
          102 kB
        7. simplebot.dae
          728 kB
        8. snapshot_storm-1819.png
          snapshot_storm-1819.png
          202 kB
        9. ternarycomparison1.jpg
          ternarycomparison1.jpg
          99 kB
        10. ternarycomparison2a.gif
          ternarycomparison2a.gif
          287 kB
        11. ternaryshadowproblem.JPG
          ternaryshadowproblem.JPG
          49 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tofu.buzzard Tofu Buzzard
              • Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: