Jump to content

  • Log In with Google      Sign In   
  • Create Account


gl es 1.1 texenv question


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 hdxpete   Members   -  Reputation: 449

Like
0Likes
Like

Posted 19 June 2012 - 08:43 PM

I have a textured polygon. I would like the final color of a fragment of the polygon to be


FinalColor.R = PolygonColor.R * TextureColor.R
FinalColor.G = PolygonColor.G * TextureColor.G
FinalColor.B = PolygonColor.B * TextureColor.B
FinalColor.A = PolygonColor.A

This is all before that fragment color would go to the color buffer.

I know it involves the texenv and or the blending but i can't seem to figure out which.

Any help is much appreciated.

Thank you very much.

Sponsor:

#2 dpadam450   Members   -  Reputation: 842

Like
0Likes
Like

Posted 19 June 2012 - 08:58 PM

GL_MODULATE

#3 hdxpete   Members   -  Reputation: 449

Like
0Likes
Like

Posted 19 June 2012 - 09:25 PM

Thank you very much. ^_^




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS