[Bug 41827] New: Wrong specular rendering with some applications

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 26 09:37:11 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=41827

            Bug ID: 41827
           Summary: Wrong specular rendering with some applications
           Product: Wine
           Version: 1.9.24
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: davyaxel at free.fr
      Distribution: ---

Created attachment 56242
  --> https://bugs.winehq.org/attachment.cgi?id=56242
Handy test app

I was investigating this gallium nine bug:
https://github.com/iXit/Mesa-3D/issues/253

And strangely with that game (School Mate), both wine ogl and gallium nine do
render a blue wall (for traces taken on windows or taken with gallium nine,
because on wine the game hits a fallback path since swvp is not supported).
Windows doesn't have that blue wall.

My investigation shows that both wine ogl and gallium nine have an issue with
specular. The problem is best shown when the material power is 0 (like in the
game).

I include the following test app (which I couldn't find the original link)
which enables to test the behaviour:

For example you can test with:

. Take the sphere
. Set SPECULARENABLE to TRUE
. Set 0 for the diffuse material colors and increase the specular material
colors
. Set the material power to 0 (or any low value)
. play with the direction of the light. Compare on windows and observe output
is different.
. Play with LOCALVIEWER. On wine the outputs changes a bit, whereas on windows
it doesn't.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list