Re: GL_ADD blendfunc

New Message Reply Date view Thread view Subject view Author view

Paolo Farinelli (paolof++at++infobyte.it)
Tue, 02 Feb 1999 13:35:33 +0100


Hello again,

I just realised that GL_ADD tex-env mode is only supported on
InfiniteReality and I was trying to get it to work on an O2!

I tried on an IR, and it works fine.

So, please excuse my previous posting.

ciao,
Paolo

Paolo Farinelli wrote:

> Hello Performers,
>
> I am trying to implement two-pass BumpMapping as suggested
> by Angus Dorby's BumpLogo source code and documentation.
>
> I am having trouble using the GL_ADD mode for my first pass,
> in which I am supposed to add bump-texture intensity to
> vertex color.
>
> I include a small sample code, in which I create a textured
> quad, with a GL_ADD TexEnv, set gset's color to grey, and
> set tex-env bias and scale to 0s and 1s in a predraw callback.
>
> Unfortunately, GL_ADD doesn't seem to be working.. :(
>
> Could Angus or anyone else spot my mistake(s) and help me get
> this right?
>
> Thank you in advance for any feedback,
> Paolo
>

--
          Paolo Farinelli   Infobyte Spa - Virtual Reality Division
     VR Software Engineer   Via della Camilluccia 67 - 00135 Roma - Italy
E-mail paolof++at++infobyte.it   World Wide Web http://www.infobyte.it
    Phone +39-06-35572219   Phone +39-06-355721   Fax +39-06-35572300

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Feb 02 1999 - 05:37:06 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.