Re: Turn off lighting
Angus Dorbie (dorbie++at++sgi.com)
Tue, 20 Oct 1998 18:14:38 -0700
Javier Muņoz Lagaron wrote:
>
> Hello,
> We are developing a Performer application, and we were
> using a lightsource.
> But now, we want to view the textures without any light,
> with their real colors.
> How can we turn off lighting?
> We tried removing the lightsource, but we saw the scene
> very dark. The effect we want to reach is the same as Perfly
> with the lighting off option.
> Can anyone give us any clue?
>
GL_REPLACE texture environments or turn of PFEN_LIGHTING state and
override it in the draw process.
Cheers,Angus.
--
"Only the mediocre are always at their best." -- Jean Giraudoux
For advanced 3D graphics Performer + OpenGL based examples and tutors:
http://www.dorbie.com/
This archive was generated by hypermail 2.0b2
on Tue Oct 20 1998 - 18:14:43 PDT