We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › tint texture in 3d using OPENGL
Page Index Toggle Pages: 1
tint texture in 3d using OPENGL (Read 1851 times)
tint texture in 3d using OPENGL
Apr 26th, 2010, 7:06am
 
Hello world! Is there any way of applying tint to a texture in open gl? The only parameter working in tint before texture is the alpha channel so i am drawing the texture using transparency and at the same spot i am drawing a second shape with color. This is what i do in order to have a tint effect but it needs too much memory in compair with the tint solution if there is one! Thanks!
Re: tint texture in 3d using OPENGL
Reply #1 - Apr 30th, 2010, 8:07pm
 
Ya.. just set the color.. gl.glColor3f(1, .5, 0);  Orange tint on white texture...
Page Index Toggle Pages: 1