[Bug 59492] piglit dlist-color-material test fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 17 17:20:14 PST 2013


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

--- Comment #7 from smoki <smoki00790 at gmail.com> ---

 Supertuxkart game use irlicht engine and ECM_DIFFUSE_AND_AMBIENT command for
the material color, which use vertex color for both diffuse and ambient light.
That irlicht command is actualy glColorMaterial (GL_FRONT_AND_BACK,
GL_AMBIENT_AND_DIFFUSE).

 mb->getMaterial().ColorMaterial = video::ECM_DIFFUSE_AND_AMBIENT;


http://sourceforge.net/apps/trac/supertuxkart/browser/main/trunk/src/graphics/material_manager.cpp

 And i get this results (see attached pictures) when i use tcl or tcl_mode=0.
It get correct lighting with swtcl and incorrect with tcl.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130118/2f040baf/attachment.html>


More information about the dri-devel mailing list