Jump to content

[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!

idmap.JPG

Link to comment
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:

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...