The Material Slicer is a slightly more complicated Slice Processor that allows you to produce a duplicate material for each slice with "sliced" texture properties. Basically, the material is duplicated and then the texture properties that match pre-configured names have their texture scale and offset adjusted to match the slices relationship with the original source terrain.
It should be noted that the source terrain's material is only duplicated if it contains at one property that matches one of the properties on the Material Texture Slicer.
Additionally, the textures themselves are not manipulated in any way.
In some instances, this processor will not work, as alot depends on how the shader is setup.
You can create this asset by selecting from the Top Menu Bar:
Assets -> Create -> Deep Space Labs -> Terra Slicer -> Slice Processors -> Material Texture Slicer
or by right clicking a folder (or inside a folder) within the Project Hierarchy and selecting from the pop up menu:
Create -> Deep Space Labs -> Terra Slicer -> Slice Processors -> Material Texture Slicer
By default this Asset is given the name MaterialTextureSlicer, however we recommend changing this name to something that will better help you differentiate it with other Material Texture Slicer Assets in the future.
At least one property must be specified, however you are free to add 2 or more if you wish. Each name of the property should match the name of a texture property in the shader used by the source terrain(s) material(s).
There are currently two slicing methods to choose from and you can choose between these two methods for each property that you wish to be sliced. Each method sets the Texture Scale and Offset values of the property on the duplicated material (for each slice), according to the slice's properties. They are:
Method 1
Sliced Texture Scale = Source Texture Scale * Proportion Of Slice To Source
Slice Texture Offset = Normalized Position of Slice
Method 2
Sliced Texture Scale = Source Texture Scale * Proportion Of Slice To Source (same as Method 1)
Slice Texture Offset = Source Texture Scale * Normalized Position of Slice % 10
Proportion Of Slice To Source is the size of the slice in relation to the source terrain. For example, if the slice is 1/2 the size, the ProportionOfSliceToSource would be equal to .5.
Normalized Position of Slice is the position of the slice (lower left corner, to be exact) in relation to the source terrain. For the first slice in the slicing grid, this value is always equal to the Normalized Grid Position values found on the Slicer asset. For other slices, Proportion Of Slice To Source * Row/Column of slice is added to the Normalized Grid Position (as found in the Slicer inspector).
Both methods have their uses, though we recommend trying Method 1 first. If neither method works and you think you know a different method that would work, please use the feedback button to let us know what it is!