Jump to content
  • Advertisement
Sign in to follow this  
wizardpc

Creating a Blend Map

This topic is 3098 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

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!