[Mesa-dev] [PATCH] r600g: implement two-sided lighting

Alex Deucher alexdeucher at gmail.com
Thu Jan 5 08:27:49 PST 2012


On Thu, Jan 5, 2012 at 11:10 AM, Andre Maasikas <amaasikas at gmail.com> wrote:
> On Thu, Jan 5, 2012 at 4:58 PM, Marek Olšák <maraeo at gmail.com> wrote:
>> On Thu, Jan 5, 2012 at 9:13 AM, Vadim Girlin <vadimgirlin at gmail.com> wrote:
>>> Rendering in two-sided mode is performed in separate passes for front and
>>> back faces, corresponding colors are selected by semantic ids.
>>
>> Are you sure that r600 cannot do two-sided color selection in
>> hardware? I find it really surprising.
>>
> Not fully automatically afaik, but i guess one can load facing bit
> (FRONT_FACE_ENA?)
> into PS and from there on decide which color to use. This would however require
> shader rewrite/modification
>

I'll ask the hw guys.

Alex

> Andre
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list