Hi,
Doraz_ wrote:
I have a problem. The shadow area is too dark and i need that that the triplanar material acts like the materials with standard shader. in particular using dynamic lighting it's very important to me that materials respond to changes in lighting's ambient intesity, Reflection's Intensity and Bounce and Indirect Intesity.I tried to modify the shader but no results exept a black or a purple material.
Is there a way to get the material respond to lighting like all other shaders? thanks in advance.
I am a bit hazy on this as it was a while ago that I wrote it. But Cubiquity was originally built on Unity 4 and has not been updated for the new lighting system in Unity 5. As such there is no support for things like indirect lighting, and this is perhaps why you are having difficulty matching the lighting in your scenes.
I don't think there is an easy fix to this, but I haven't looked into the new lighting system at all. I believe it is precomputed so may not work well with dynamic terrain like that found in Cubiquity.
Doraz_ wrote:
[Edit] another thing. It seems the terrain doesn't care if light has hard or soft shadows? Am i doing something wrong?
This seems to work ok for me using Unity 5.3 on Windows and viewing the Examples/Basic/TerrainExampleScene. Can you try looking at that example?
Doraz_ wrote:
[Edit#2] to better explain i normally make "dark areas" setting "Reflection Intensity" in lighting tab to zero and that sutes me perfectly eith the standard shader. with triplanar the only way is to reduce the ambient intensity and i can't do that.
Maybe you can just hack the shader with a hard-coded intensity scaling factor (or pass a factor in from your code somehow)? Make a copy of it first of course!
Doraz_ wrote:
[Edit#3] Well, with some effort I managed to create a sufficiently-realistic shadow/lighting setting. Maybe now it is useless but it would be really cool to be able to modify the material to the setting and not change the setting because of the material. Thanks for your effort to create and further develop this tool, it's amazing

I'm glad you got a working solution. Do be aware that this version of Cubiquity is no longer under active development though (check our blog for our plans).