adds placeholder stuff
This commit is contained in:
40
Ego.tres
40
Ego.tres
@@ -1,4 +1,4 @@
|
||||
[gd_resource type="VisualShader" load_steps=5 format=3 uid="uid://gg0tjobjip6u"]
|
||||
[gd_resource type="VisualShader" format=3 uid="uid://gg0tjobjip6u"]
|
||||
|
||||
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_cm35s"]
|
||||
input_name = "texture"
|
||||
@@ -14,44 +14,6 @@ expanded_output_ports = [0]
|
||||
operator = 2
|
||||
|
||||
[resource]
|
||||
code = "shader_type canvas_item;
|
||||
render_mode blend_mix;
|
||||
|
||||
|
||||
// Varyings
|
||||
varying float var_ueu;
|
||||
|
||||
uniform sampler2D tex_frg_6;
|
||||
|
||||
|
||||
|
||||
void vertex() {
|
||||
var_ueu = 0.0;
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
vec4 n_out5p0;
|
||||
// Texture2D:5
|
||||
n_out5p0 = texture(TEXTURE, UV);
|
||||
float n_out5p4 = n_out5p0.a;
|
||||
|
||||
|
||||
// Texture2D:6
|
||||
vec4 n_out6p0 = texture(tex_frg_6, UV);
|
||||
float n_out6p1 = n_out6p0.r;
|
||||
|
||||
|
||||
// FloatOp:7
|
||||
float n_out7p0 = n_out5p4 * n_out6p1;
|
||||
|
||||
|
||||
// Output:0
|
||||
COLOR.rgb = vec3(n_out5p0.xyz);
|
||||
COLOR.a = n_out7p0;
|
||||
|
||||
|
||||
}
|
||||
"
|
||||
mode = 1
|
||||
flags/light_only = false
|
||||
varyings/ueu = "0,0"
|
||||
|
||||
Reference in New Issue
Block a user