This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Until 1 Dec 2026 all licenses are 30 % off, for example the Indie Bundle for €69.30 instead of €99. The code BLACKFRIDAY is applied automatically at checkout.
See licenses Try it for freeshader_effects.ripple1.num.frequency = Values.value.Int
shader_effects["daynight"] = {shader=basic_fsh..[[
float x = iGlobalTime * 0.5;
// This should be changed to go along with the Value "Daylight"
float pi = 3.1415926535897932384626433832795;
float R = (0.75+sin((x-3)*0.5*pi + cos((x-3)*0.5*pi))*0.25);
float G = (0.75+0.125+cos(x*0.5*pi)*0.125);
float B = (0.75+0.125+cos(x*1.0*pi)*0.125);
void main()
{
vec3 base = texture2D(iChannel0, texcoord.xy).rgb;
gl_FragColor = vec4(base.r*R,base.g*G,base.b*B, 1.0);
}
]]}
if getObject("Conditions[DaylightShader]"):getBool(VConditionValue) then
shaderAddEffect("daynight");
end
shader_effects["daynight"] = {shader=basic_fsh..[[
const float pi = 3.1415926535897932384626433832795;
uniform float daytime;
void main()
{
float x = daytime;
float R = (0.75+sin((x-3.0)*0.5*pi + cos((x-3.0)*0.5*pi))*0.25);
float G = (0.75+0.125+cos(x*0.5*pi)*0.125);
float B = (0.75+0.125+cos(x*1.0*pi)*0.125);
vec3 col = vec3(R,G,B);
gl_FragColor = vec4(texture2D(iChannel0, texcoord.xy).rgb*col, 1.0);
}
]]}
shaderAddEffect("daynight")
bind("daynight", "daytime", field("Values.daytime.Int"))
shader_effects["daynight"].num.daytime = Values.daytime.Int
This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New threadDeponia, The Whispered World and more than 160 other games were made with Visionaire Studio. The free version covers up to 25 scenes. For more scenes there is Visionaire Studio PRO from €75, and to sell your game the Indie Bundle for €99.
Through December 1: all licenses 30% off, for example the Indie Bundle for €69.30 instead of €99. Applied automatically at checkout.