Jump to content

Isaac
 Share

Recommended Posts

Hi Everyone!

Recently we have been researching new techniques for rendering terrains, specifically on the shader development side. Much of this research is inspired by some of the GDC talks about landscape rendering over the past couple of years. 

One of the areas of interests was in reducing the amount of splatmaps needed for terrains. Currently, Unity supports multiple terrain layers through splatmap textures, where each channel (Red, Green, Blue and Alpha) represents a terrain layer mask (white for telling the shader to paint it at that pixel, black for telling it to not paint it). In our early research we have been able to find a method that reduces the number of splatmaps down to 1 per terrain. There are some visual tradeoffs to be made with this approach, but does allow some benefits such as supporting more than the traditional 8 terrain layers that Unity supports. 

Working along side this system is also the idea of having each pixel on the terrain know all the information about where it is spacially, what terrain slice it is, and it's terrain layers. This idea would potentially also reduce the amount of draw calls required for the rendering of the terrain, as many terrain tiles could use the same material.

We won't go into the specifics here, as it is still in early development, but we do have ideas for other features that could work with this terrain approach, such as integrating the weather system that is in development, adding tessellation and displacement, reducing the visible tiling of textures and object blending into the terrain. 

For now, here a basic showcase of the customly developed terrain shader, without using any of Unity's terrain tools:

NewTerrainShader_A.thumb.JPG.cf00ba17df5a35a7f05112ae7a7a4b47.JPG

Let us know your ideas for a new terrain shader you would like to see!

Link to comment
Share on other sites

 Share

  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...