Jump to content
Sign in to follow this  

[newbie] make heightfield mask from id map (texture)

Recommended Posts

Hey there, first poster speaking :)

So i have a id map of a landscape (an example is in the attachments) and i wanna get terrain masks defined by each color (green for grass, blue for water and so on). so i somehow need to transfer the textures's Cds to the heightfield to sample them, but i cant figure out how... :S

in the end i would like to just define a color and the wrangle spits out a mask. sounds really basic but i have no experience using volumes.

did research way too long for this, for something which surley could be done in minutes :S

would really appreciate any help!


Share this post

Link to post
Share on other sites

Not sure how you're generating this, but I have used a similar system with photoshop. If you keep each layer separate and bring the PSD into a copnet, you can draw out each one individually.

Here's a GDC video that goes over this pretty in depth:


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