mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 09:43:47 +00:00
Dialogue System
This commit is contained in:
parent
77765a581e
commit
1fa77f0c03
690 changed files with 46698 additions and 14 deletions
|
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue