Re: Texture function opengl specification

2006-10-15 Thread Jerome Glisse
On 10/15/06, Roland Scheidegger <[EMAIL PROTECTED]> wrote: > Jerome Glisse wrote: > >>> According to fragment program extension, TEX, TXP, ... should > >>> give you the right A value (Ap depending on which texture unit > >>> you are using). > >> That's not how I read that. TEX,TXP,... refer to text

Re: Texture function opengl specification

2006-10-15 Thread Roland Scheidegger
Jerome Glisse wrote: According to fragment program extension, TEX, TXP, ... should give you the right A value (Ap depending on which texture unit you are using). That's not how I read that. TEX,TXP,... refer to texture sampling only, there is no thing as previous unit there. Thus, for an RGB tex

Re: Texture function opengl specification

2006-10-14 Thread Jerome Glisse
On 10/14/06, Roland Scheidegger <[EMAIL PROTECTED]> wrote: > Jerome Glisse wrote: > > Hi, > > > > I am wondering if i am fully understanding how texture value should > > be computed. I am refering here to section 3.8.13 of opengl > > specification and specialy to table 3.21. > > > > My understandin

Re: Texture function opengl specification

2006-10-14 Thread Roland Scheidegger
Jerome Glisse wrote: > Hi, > > I am wondering if i am fully understanding how texture value should > be computed. I am refering here to section 3.8.13 of opengl > specification and specialy to table 3.21. > > My understanding is that when you got an RGB texture the As = 1 but > when computing