This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type canvas_item; | |
render_mode unshaded; | |
uniform sampler2D tex : hint_albedo; | |
uniform float deform_amt : hint_range(-1,1); | |
uniform float deform_speed : hint_range(0.5,4); | |
uniform bool animate; | |
void fragment() { | |
float def_amt = deform_amt; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type spatial; | |
render_mode shadows_disabled; | |
uniform float rim = 0.25; | |
uniform float rim_tint = 0.5; | |
uniform sampler2D albedo : hint_albedo; | |
uniform float specular; | |
uniform float roughness = 1.0; | |
uniform bool disable_lighting = false; | |
uniform vec4 shadow_color : hint_color; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type canvas_item; | |
uniform float value: hint_range(0, 100); // % | |
uniform float thickness: hint_range(0, 100) = 30.; // % thickness | |
uniform sampler2D fg: hint_albedo; | |
uniform sampler2D bg: hint_black_albedo; | |
uniform float offset: hint_range(0, 100); // % | |
uniform float smoothing: hint_range(0, 100) = 5.; | |
void fragment() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tool | |
class_name FlexGridContainer | |
extends Container | |
var columns: int = 1 setget set_columns | |
func _notification(p_what): | |
match p_what: |