new road shaders

This commit is contained in:
Nikolai Fesenko
2025-08-15 23:16:08 +02:00
parent 2e33b8e18e
commit d7a9dc76dc
4 changed files with 39 additions and 1 deletions

17
Shaders/road.gdshader Normal file
View 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.
//}

View File

@@ -0,0 +1 @@
uid://c5e2qqpg6h4lw

9
Shaders/road.tres Normal file
View 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;
"