Sign in to follow this  

terrain texture question

This topic is 4691 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can anyone tell me how to blend/merge textures in a outdoor rendering engine. e.g. if i have a grass and a path texture and i apply them to poylgons in a mesh. And this texture are merged in some way when i render them. thanx in advance Alok

Share this post


Link to post
Share on other sites
Are you using OpenGL or DirectX? If you're using OpenGL, I can answer the question.

OpenGL added multi-texturing to the 1.2.1 specification. You can learn about multi-texturing with a [google] search or a search on opengl.org. In particular, you can use register combiners to blend multiple textures together in a single pass. Search for GL_COMBINE_ARB or GL_COMBINE_EXT. This should give you what you need.

Share this post


Link to post
Share on other sites

This topic is 4691 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this