Hi to all !
I finally realize that I need help regarding Terrain Painting. I read Lumberyard and CryEngine documentations, but no clarity has been gained.
I. As I understand there are at least three different entities that affect terrain color:
a) “Layer Texture” that is set to terrain layer in Terrain Texture Layer Editor.
b) Color from texture that is set as Diffuse map in material (assigned to the terrain layer)
c) Layer “Color” from Layer Painting Tool
And the questions are:
The main question is how does Terrain Layer Shader mixes this colors, what is the formula?
As it is described in documentation, “Layer Texture” is used for distance view of terrain, but as I tested its max resolution is only 512x512 and its one tile is stretched at whole terrain, so actually this layer absolutely useless as in fact it provides extremely low resolution.
Moreover in all documentation it is recommended to use grey 2х2 px. texture, so what is the purpose of this layer? As i see it only distorts the final color. Why dont to use just white?
- As example for “Layer Texture” i use black-white texture like this:
i use default grass1 and in material shader params “DetailTextureStrenght” is equal to 1 (or even 2). But black areas remains black and I can’t understand how does DetailTextureStrenght works, what is a math of blending?
- At shader documentation page “http://docs.aws.amazon.com/lumberyard/latest/userguide/shader-ref-terrain-layer.html” it is said at the beginning:
“The Detail normals texture is not an external texture, but rather a texture generated by Lumberyard through code.”
What normal texture it is meaned? Am i right that “normal map” from material “texture maps” section is still usable?
What are effects from “Blend factor” and “Blend Faloff” params from material “Shader params” section? I tried different values, but didn’t notice any effect. Can anyone show an example?
Abit stupid question: are Terrain Painting lessons from CryEngine 3 documentation still actual?
For example I tried to reproduce this documentaion:
If I use exactly the same params as in lesson then i gain different effect, but changing Layer Color very close result could be acquired. I mean that it seems that Shader math was changed and the the question is how much?
Thank you for answering if someone decide to read all this :). I will be grateful for any links to documentation or lessons that will help me in understanding.