#5, z caligarimarteTuesday, 09. August 2016, 02:08 hodinky 8 years ago
Where do I put the "bind(...)" Function? Right after "shaderAddEffect("daynight")"? Or in the repeating Action which updates the "Daytime"-Value every now and then? I tried it in both Places, and saw no Effect. In the repeating "updateDaytime" Action I also tried Variations of the num-Line:
shader_effects["daynight"].num.uniform.Daylight = Values.Daytime.Int * 3.33
... but I did not notice any Effect, and probably got the Line wrong anyway. I don't know what exactly should come after the "num".
So, to make my Script more efficient, I basically should put the R, G, and B Floats in the Main Function? (Okay, I did that.) Also the "x" Float? Also the Uniform?? (Which I would not assume, but at this Point I am just confused anyway.)
Sorry for being such a n00b with handling those Shaders in Visionaire -- the currently massive Lack of Documentation and Examples to learn from (except from the Contents of the Shader Toolkit itself) make it a little hard for me to get into it. :/