Thanks for comments.
Past week i worked in two things that are essential for this project , one for graphic and the outer for performance. For now i only implement in final scene one of that and i will talk some words about it, i hope can be useful for someone.
Terrain Texture Based in Vertex Color Mask:
Make good textures for large scales is really complex, BGE don´t have a good suport for large size texture loading to enable us to use Texture Atlas, what´s a bad thing in some cases. The alternative is use tiled textures and repeat it for all terrain, what make visible problems in graphic of scene.
In Appricot project they make a smart solution using tiled textures with two Stencil texture maps to mask the areas. But i think the most of you know it. Of course we can to cascade stencil maps to enable more than only two textures.
but in time the problems return… In my case i will have a lot of terrain objects not only one. So how to apply the same material in all terrain objects if the masks are based in own UVs and textures?
My solution: Make vertex color as Stencil Channel for the textures:
How: making some good Nodes
The idea is use a range of color as mask to a texture. So separating the RGB we get mask to 3 Textures and separating the sub colors (Cyan, Magenta, Yellow ) we can get more 3. The transitions colors between they we don´t can use cause it will have a little marge to blends. I´m using now only 5 textures.
Shadows: For now i will use only “baked” shadows. But not texture Baked shadow maps, i´m using vertex based shadows. Manually painting the projected shadows in ambient. It can not be perfect but is fast and works good for now.
We need too add a Lambert (or outer that you want) shading, that we get in material base. And a Fog, it can be made with camera distance/depth.
This is the node Config and results:
-> I did a shader (2D filter) to control many camera properties as RGB correction,film grain, vignette, levels and contrast
-> some changes in clouds too, now its animated and looks better
if you can watch it in HD, always is better
It´s all for now.