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.
Another texture mapping experiment...
« Next Oldest | Next Newest »
Messages In This Thread |
Another texture mapping experiment... - by Philippe Hurbain - 2013-01-27, 16:50
Re: Another texture mapping experiment... - by Roland Melkert - 2014-08-05, 23:33
Re: Another texture mapping experiment... - by Travis Cobbs - 2014-08-06, 4:42
Re: Another texture mapping experiment... - by Roland Melkert - 2014-08-06, 18:15
Re: Another texture mapping experiment... - by Philippe Hurbain - 2014-09-26, 9:21
Re: Another texture mapping experiment... - by Roland Melkert - 2014-09-26, 16:51
Re: Another texture mapping experiment... - by Philippe Hurbain - 2014-09-26, 18:12
Re: Another texture mapping experiment... - by Roland Melkert - 2014-09-27, 23:21
|
Users browsing this thread: 2 Guest(s)