Another texture mapping experiment...


Re: Another texture mapping experiment...
#3
Only transparent or partially transparent portions of the texture should allow the background triangle color to be visible. I use GL_MODULATE as my texture env mode, and call glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR) in my lighting setup so that specular highlights will look right with GL_MODULATE, since they're broken otherwise.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Another texture mapping experiment... - by Travis Cobbs - 2014-08-06, 4:42

Forum Jump:


Users browsing this thread: 1 Guest(s)