7-8-25 6:02pm
This commit is contained in:
15
shaders/blue.gdshader
Normal file
15
shaders/blue.gdshader
Normal file
@@ -0,0 +1,15 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
void vertex() {
|
||||
// Called for every vertex the material is visible on.
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
// Called for every pixel the material is visible on.
|
||||
|
||||
}
|
||||
|
||||
//void light() {
|
||||
// // Called for every pixel for every light affecting the CanvasItem.
|
||||
// // Uncomment to replace the default light processing function with this one.
|
||||
//}
|
||||
1
shaders/blue.gdshader.uid
Normal file
1
shaders/blue.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bgf53pnrg4qv1
|
||||
15
shaders/red.gdshader
Normal file
15
shaders/red.gdshader
Normal file
@@ -0,0 +1,15 @@
|
||||
shader_type spatial;
|
||||
|
||||
void vertex() {
|
||||
// Called for every vertex the material is visible on.
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
// Called for every pixel the material is visible on.
|
||||
ALBEDO = vec3(1, 0, 0);
|
||||
}
|
||||
|
||||
//void light() {
|
||||
// // Called for every pixel for every light affecting the material.
|
||||
// // Uncomment to replace the default light processing function with this one.
|
||||
//}
|
||||
1
shaders/red.gdshader.uid
Normal file
1
shaders/red.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dvpsalh3o60iu
|
||||
6
shaders/red.tres
Normal file
6
shaders/red.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="ShaderMaterial" load_steps=2 format=3 uid="uid://dnjqa0ph5ptli"]
|
||||
|
||||
[ext_resource type="Shader" uid="uid://dvpsalh3o60iu" path="res://shaders/red.gdshader" id="1_ofpe7"]
|
||||
|
||||
[resource]
|
||||
shader = ExtResource("1_ofpe7")
|
||||
Reference in New Issue
Block a user