Sign in to follow this  
wizardpc

Creating a Blend Map

Recommended Posts

The simplified version of my question is: How can I create the blendmap texture, in code, so that I can pass that into my shader for multitexturing a terrain? Verbose version: I have a simple terrain (grid) with tiled textures. I have a shader that takes 4 textures and uses the rbga in the blendmap as weights when rendering the 4 tiled textures. I've always just fussed around in photoshop to make blendmaps, but now I want to be able to make them in my World Editor program. If a user selects a tile I want it to turn into the desired texture (grass, dirt, rock,etc..). Thanks in advance.

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