new road shaders
This commit is contained in:
17
Shaders/road.gdshader
Normal file
17
Shaders/road.gdshader
Normal file
@@ -0,0 +1,17 @@
|
||||
shader_type spatial;
|
||||
|
||||
void vertex() {
|
||||
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
// Called for every pixel the material is visible on.
|
||||
ALBEDO = vec3(0.3,0.3,0.3);
|
||||
METALLIC = 1.0;
|
||||
ROUGHNESS = 0.5;
|
||||
}
|
||||
|
||||
//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/road.gdshader.uid
Normal file
1
Shaders/road.gdshader.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c5e2qqpg6h4lw
|
||||
9
Shaders/road.tres
Normal file
9
Shaders/road.tres
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_resource type="VisualShader" format=3 uid="uid://b02412t58m7q4"]
|
||||
|
||||
[resource]
|
||||
code = "shader_type spatial;
|
||||
render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_lambert, specular_schlick_ggx;
|
||||
|
||||
|
||||
|
||||
"
|
||||
Reference in New Issue
Block a user