Jump to content

Recommended Posts

Posted

I'm importing a 2048x2048 splatmap texture from World Machine when creating my terrain and associating terrain materials with each channel from the splatmap. It works fine, but the resolution of the painted layers is very very crappy. For example:


http://i.imgur.com/kdL3qNI.png


Is this related to the brush resolution in Torque? How can i tweak this?

Posted

That only changes the detail texture size and how it's distributed. I'm talking about the terrible resolution between the blends there, look at the area between dark and bright textures. No matter which brush i use to try to "cleanup" after the splatmap import, it's just painting some ugly polys.

Posted

do u have an example of what it should look like?


This looks to be caused by the base tex size, when u zoom out so far torque uses the terrains basetex as the texture u see on screen, instead of up close detailed textures

Posted

Terrains in Torque3D uses vertex painting. So the less vertices per meter, the rougher the resolution of the splatmap. I usually use 1 meter per pixel for my terrains, but you have to tweak it to what works for you. Remember that rendering terrains are costly, and you want to use various tricks to improve the looks of the terrain, rather than just cranking up the resolution.


It's possible that my advanced blending solution will work when deferred shading / PBR has made its entry, can't say for sure, but you are welcome to check it out:

https://github.com/lukaspj/Torque3D/tree/Editor-Integration-For-New-Blending

It's based on this article:

http://www.gamasutra.com/blogs/AndreyMishkinis/20130716/196339/Advanced_Terrain_Texture_Splatting.php


But had the issue that it lost the alpha value between layer batches, so it would only work for up to three textures. Afaik, deferred shading should free up that alpha value, making it possible to implement.

The relevant PR: https://github.com/GarageGames/Torque3D/pull/712

  • 2 weeks later...
Posted

Is there any fix planned to support more layers being imported per heightmap? What if, instead of loading RGBA, i only import 8-bit grayscale masks? Instead of combining channels in World Machine, i can export them individually as heightmaps. Would Torque support that?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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