Remove unnecessary files
This commit is contained in:
parent
97863dc3fd
commit
f4e2193219
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,4 +3,5 @@
|
|||
*.tmp
|
||||
*.zip
|
||||
dist/
|
||||
build/
|
||||
build/
|
||||
~*.*
|
|
@ -1,15 +0,0 @@
|
|||
shader_type canvas_item;
|
||||
render_mode blend_mix;
|
||||
|
||||
uniform vec3 tint_color : source_color = vec3(1.0, 0.0, 0.0);
|
||||
uniform float intensity : hint_range(0, 1) = 1.0;
|
||||
|
||||
void fragment() {
|
||||
COLOR = vec4(mix(COLOR.rgb, tint_color, intensity), COLOR.a);
|
||||
}
|
||||
|
||||
// bleh, we prolly don't need this
|
||||
//void light() {
|
||||
//vec4 color = COLOR;
|
||||
//LIGHT = vec4(color.rgb * LIGHT_COLOR.rgb * LIGHT_ENERGY, LIGHT_COLOR.a * (1.0 - intensity));
|
||||
//}
|
|
@ -1,51 +0,0 @@
|
|||
[gd_resource type="VisualShader" load_steps=4 format=3 uid="uid://dmoh1f7aoriyv"]
|
||||
|
||||
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_jknad"]
|
||||
expanded_output_ports = [0]
|
||||
input_name = "color"
|
||||
|
||||
[sub_resource type="VisualShaderNodeColorParameter" id="VisualShaderNodeColorParameter_bpbi7"]
|
||||
expanded_output_ports = [0]
|
||||
parameter_name = "Tint_Color"
|
||||
|
||||
[sub_resource type="VisualShaderNodeMix" id="VisualShaderNodeMix_rbqa7"]
|
||||
default_input_values = [0, Vector3(0, 0, 0), 1, Vector3(1, 1, 1), 2, Vector3(0.5, 0.5, 0.5)]
|
||||
op_type = 3
|
||||
|
||||
[resource]
|
||||
code = "shader_type canvas_item;
|
||||
render_mode blend_mix;
|
||||
|
||||
uniform vec4 Tint_Color : source_color;
|
||||
|
||||
|
||||
|
||||
void fragment() {
|
||||
// Input:2
|
||||
vec4 n_out2p0 = COLOR;
|
||||
|
||||
|
||||
// ColorParameter:3
|
||||
vec4 n_out3p0 = Tint_Color;
|
||||
float n_out3p4 = n_out3p0.a;
|
||||
|
||||
|
||||
// Mix:4
|
||||
vec3 n_out4p0 = mix(vec3(n_out2p0.xyz), vec3(n_out3p0.xyz), vec3(n_out3p4));
|
||||
|
||||
|
||||
// Output:0
|
||||
COLOR.rgb = n_out4p0;
|
||||
|
||||
|
||||
}
|
||||
"
|
||||
mode = 1
|
||||
flags/light_only = false
|
||||
nodes/fragment/2/node = SubResource("VisualShaderNodeInput_jknad")
|
||||
nodes/fragment/2/position = Vector2(-340, 60)
|
||||
nodes/fragment/3/node = SubResource("VisualShaderNodeColorParameter_bpbi7")
|
||||
nodes/fragment/3/position = Vector2(-280, 260)
|
||||
nodes/fragment/4/node = SubResource("VisualShaderNodeMix_rbqa7")
|
||||
nodes/fragment/4/position = Vector2(140, 100)
|
||||
nodes/fragment/connections = PackedInt32Array(2, 0, 4, 0, 3, 0, 4, 1, 3, 4, 4, 2, 4, 0, 0, 0)
|
Binary file not shown.
Loading…
Reference in a new issue