Jump to content
Leadwerks Community

Quick Heightmap Question


Go to solution Solved by Josh,

Recommended Posts

Posted

Say you create a 512x512 terrain.  Does that also mean that heightmap should be 512x512?  Or is 1024x1024, 2048x2084 or 4096x4096 better?  In the same vein, if you were to create a 4096x4096 terrain, what's the perfect dimension heightmap for that?  I checked the documentation but it doesn't mention this.

  • Solution
Posted

Heightmap resolution should match the terrain resolution.

  • Like 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Do you know if you can paint the terrain from a script with a function? Is that possible?

 

Edit:

I found that terrain:SetLayerAlpha(1,1) runs ok for painting all the map/ do you know if it is possible to only paint an area from script ?

I'm happy for any help with this thx

 

 

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...