I would like a classic material for a grass ground.
i try to do something simple and add detail like bump and displace after.
My ground is composed by a simply plane
So i tried something like a composite or a blend, with one texture with a hole for the background in uv channel 1; and one texture for the foreground in uv channel 2.
In this case i can have a foreground with highly detailed diffuse; and a background with a no-tillable texture.
I don't find the manual about that so i permit me to ask the comunity.

Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<scenedata>
<material>
<name>ground</name>
<oren_nayar>
<texture>
<path>ground.png</path>
<a>0</a>
<b>1</b>
<c>0</c>
<uv_set>default</uv_set>
<exponent>2.2</exponent>
<tex_coord_generation>
<uv />
</tex_coord_generation>
</texture>
<albedo>
<texture>
<texture_index>0</texture_index>
</texture>
</albedo>
</oren_nayar>
</material>
<material>
<name>grass</name>
<oren_nayar>
<texture>
<path>grass.png</path>
<a>0</a>
<b>1</b>
<c>0</c>
<uv_set>default</uv_set>
<exponent>2.2</exponent>
<tex_coord_generation>
<uv />
</tex_coord_generation>
</texture>
<albedo>
<texture>
<texture_index>0</texture_index>
</texture>
</albedo>
</oren_nayar>
</material>
</material>
</scenedata>
Of course that's not working because i don't know how to use it.
I need to know how to use multi-channel UV
I need to know how to use composite material
thank a lot if you have an idea or some clue to find it
