W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2012

Re: Adding normal matrix to CSS Shaders

From: Fabrice Robinet <cmg473@motorola.com>
Date: Tue, 10 Jan 2012 22:46:51 -0800
Message-ID: <CAPam9Rp_2gi21szNuo_Htxc1vndFkT4ySib1MA1eEdnDG03H8g@mail.gmail.com>
To: public-fx@w3.org
Hi all,

Let's revive this thread after christmas break ;)

Back to the original proposal around the normal matrix,
Indeed,  "normal matrix" is less "general" than "inverse transpose".
But I think "normal matrix"  it is preferable as it allow to stay
conservative (its addition can be done independently of anything else)
as opposed to "inverse transpose" which would involve to take premature
decisions about other combinations that one "might need".
- Normal matrix typical use-case is for lighting, and that's clear. -

Moreover, because of the similar (old) built-in gl_NormalMatrix uniform in
I believe the "normal matrix" would seem familiar/natural for most shaders

Let's continue the discussion if there are more concerns about this,
otherwise that would be awesome to have this uniform supported for a new
revision of the spec.

As a reminder, there is a bug tracking this:

Received on Thursday, 12 January 2012 14:01:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:46 UTC