Skip to contentSkip to conversation

New: Norsetto shadow mapping doesn't render correctly

Bug 37261 [email protected] 1 participant 3 messages May 16, 2011 – Jun 15, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=37261

           Summary: Norsetto shadow mapping doesn't render correctly
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://norsetto.site11.com/?db_select=shadow&page_id=9
                    7
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: [email protected]
        ReportedBy: [email protected]

Created an attachment (id=46775)
--> (https://bugs.freedesktop.org/attachment.cgi?id=46775)
Screenshot of bug

The shadow mapping demo from norsetto doesn't render correctly with r600g, none of the objects are textured and the shadows are missing. Rendering on llvmpipe seems to be correct.

The demo requires a simple change for the shaders to compile:

shaders/bumpTBN_SH_FP.glsl 2011-05-16 17:41:57.978477020 +0200 renamed from shaders/bumpTBN_SH_FP.glsl.orig 2011-05-16 17:41:49.098224141 +0200 +1 -1
@@ -46,7 +46,7 @@ void main()
 
     offset.y += offset.x;
     if ( offset.y > 1.1)
-        offset.y = 0;
+        offset.y = 0.0;
 
     vec4 shadow = (    offset_lookup( shadowMap, gl_TexCoord[1],

offset+vec2(-1.5, 0.5) ) +

             offset_lookup( shadowMap, gl_TexCoord[1], offset+vec2( 0.5,  0.5)

) +

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.1
-- xserver: 1.10.1
-- mesa: git-c9aa3bb
-- drm: 2.4.25
-- kernel: 2.6.39-rc7

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 37261] Norsetto shadow mapping doesn't render correctly

https://bugs.freedesktop.org/show_bug.cgi?id=37261

--- Comment #1 from Sven Arvidsson <[email protected]> 2011-06-11 09:26:57 PDT --- Rendering of the demo has improved, the only thing missing now is the shadow.

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.2
-- xserver: 1.10.1
-- mesa: git-4176025
-- drm: 2.4.25
-- kernel: 2.6.39.1

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 37261] Norsetto shadow mapping doesn't render correctly

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=37261

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Sven Arvidsson <[email protected]> 2011-06-15 05:18:19 PDT --- This is fixed with git master a128355.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.