Skip to main content

The "vngen_scene_shader_stop" Function

Syntax#

vngen_scene_shader_stop(id, fade, [ease]);
ArgumentTypeDescription
idreal/stringThe ID of the scene to stop shader on (or keyword all for all scenes)
faderealSets the length of time to fade shader out, in seconds
easeinteger/macroOptional: Sets the ease mode for fade transition

Description#

Stops the active shader being performed on the specified entity, if any.

Example#

vngen_event() {
vngen_scene_shader_stop("bg", 0.5);
}