You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
454 B
15 lines
454 B
extends DialogicBackgroundTransition
|
|
|
|
func setup_swipe_shader() -> ShaderMaterial:
|
|
var shader := set_shader()
|
|
shader.set_shader_parameter("wipe_texture", load(
|
|
DialogicUtil.get_module_path('Background').path_join("Transitions/simple_swipe_gradient.tres")
|
|
))
|
|
|
|
shader.set_shader_parameter("feather", 0.3)
|
|
|
|
shader.set_shader_parameter("previous_background", prev_texture)
|
|
shader.set_shader_parameter("next_background", next_texture)
|
|
|
|
return shader
|