Skip to Content

Using a layered shader to texture a custom terrain object

Author: Steven Murdoch

When using a standard 'Unity Terrain' object, textures can be tiled, layered and masked using a method called 'splat mapping'. This technique is ideal for texturing terrain, however when creating a custom terrain object in a 3D modeling package, such as a floating island that is not a flat object (like a unity terrain), but is a three dimensional model, the splat mapping method is not available to use.

What are our texturing options now?
A custom UV map could be generated and applied to the model, however all detail will be lost when zoomed to the level of a terrain, as even a 4k texture map will more than likely be too small and distort.
Another option would be to create a single seamless texture and tile it over the model, this will work fine, but you are restricted to one texture, and one texture only - creating a bland look and feel.

Or, you could use a custom layered shader that simulates the 'splat map' method, which can be applied to any 3D model.

- perfect!

 

 Tutorial introduction
bulletLaunch Video (1m 22s)

 Preparing and exporting mesh from maya, creating a layered shader
bulletLaunch Video (3m 42s)
Layered shader used in tutorial: here
Other terrain shaders: here

 Setting up and applying the layered shader, includes creating an alpha mask in photoshop
bulletLaunch Video (9m 48s)

 
 
This tutorial was recorded using Autodesk Maya 2010 and Unity 3D 2.6.
Some aspects of this tutorial may differ depending on the software version being used.
 
 

 

bulletBack


Share

Like this? Click a link below to share it...


Subscribe and Download

Subscribe to the Swinburne Faculty of Design Podcasts

Comments

2011-07-11: msl said:
Please post the custom layered shader that simulates the 'splat map' method for using it from 3dsmax pipeline.

2011-08-23: Duane said:
Hi,
I'm trying to play these tuts but it just keeps on telling me that I need the latest flash player which I have.
Any suggestions?
Thanks

2011-10-23: steven said:
For some reason, if the tutorials do not play, please change the .html extension in the URL .mp4 and the video will play.

2011-10-23: Bill Trikojus said:
Looks like that bypasses the flash plugin detection

2011-11-10: Billy said:
Thanks for the help steven, that tip helped

Post a comment

Garbage posts and SPAM will be deleted.

* Name:
* Email: (will not be made public)
* Comment:
* Reply Notification: