Jump to content

My heightmap


juanmajr93
 Share

Recommended Posts

If you use the 'Black and White' filter in Photoshop, you can adjust the strength of all colors, like the blue, orange, green etc.

This took literally 5 seconds, and I'm sure there is something in GiMP that creates the same result if you prefer a free application.

 

heightmapInicio3.png.3dd57bd77806fb755089dbffc0988ac7.png

Link to comment
Share on other sites

I just added the ability to define your own color filter :

var filter = new BABYLON.Color3(1.0, 0.5, 0.2); 
BABYLON.MeshBuilder.CreateGroundFromHeightMap('m', url, {colorFilter: filter});

The ability to change the way the gradient to elevate the ground altitude is computed.
Default : Color3(0.3, 0.59, 0.11) as usual grey gradient.

 

Just wait this PR is merged in the core, please. 

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...