<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - piglit dlist-color-material test fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59492#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - piglit dlist-color-material test fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59492">bug 59492</a>
from <span class="vcard"><a class="email" href="mailto:smoki00790@gmail.com" title="smoki <smoki00790@gmail.com>"> <span class="fn">smoki</span></a>
</span></b>
<pre>
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;
<a href="http://sourceforge.net/apps/trac/supertuxkart/browser/main/trunk/src/graphics/material_manager.cpp">http://sourceforge.net/apps/trac/supertuxkart/browser/main/trunk/src/graphics/material_manager.cpp</a>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>