Kent Miller (blastarr++at++ix.netcom.com)
Sat, 25 Mar 1995 17:23:37 -0800
>> I want to display a texture map which is always bright, even when the
>> surroundings are dark. That is, I want it to ignore surrounding
>> lighting and be `self-luminous'.
>>
>> How do I do this?
>Turn off lighting for the geostate:
> pfGStateMode( gstate, PFSTATE_ENLIGHTING, PF_OFF );
Or, you can set the texture environment to DECAL mode (I think I got
that right - I'm at home and my code is at work - Lance can correct me
if that's slightly off) :)
I use lighting when I want to turn the texture on and off during
run-time; decal-mode if the texture is always on. I don't know if there
is a performance difference.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:08 PDT