Sign in to follow this  
aloknarula

terrain texture question

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

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