mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-07 00:10:09 +01:00
Convert materials to tres format in Truck Town
This commit is contained in:
Binary file not shown.
6
3d/truck_town/Materials/car_blue_body.tres
Normal file
6
3d/truck_town/Materials/car_blue_body.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color( 0.0387451, 0, 0.256549, 1 )
|
||||
metallic = 0.2
|
||||
roughness = 0.6
|
||||
Binary file not shown.
5
3d/truck_town/Materials/car_grill.tres
Normal file
5
3d/truck_town/Materials/car_grill.tres
Normal file
@@ -0,0 +1,5 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color( 0.248353, 0.248353, 0.248353, 1 )
|
||||
roughness = 0.0
|
||||
Binary file not shown.
5
3d/truck_town/Materials/car_orange_body.tres
Normal file
5
3d/truck_town/Materials/car_orange_body.tres
Normal file
@@ -0,0 +1,5 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color( 0.742188, 0.33499, 0.156555, 1 )
|
||||
roughness = 0.0
|
||||
Binary file not shown.
5
3d/truck_town/Materials/car_red_body.tres
Normal file
5
3d/truck_town/Materials/car_red_body.tres
Normal file
@@ -0,0 +1,5 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color( 0.256575, 0.0334902, 0, 1 )
|
||||
roughness = 0.6
|
||||
Binary file not shown.
7
3d/truck_town/Materials/car_window.tres
Normal file
7
3d/truck_town/Materials/car_window.tres
Normal file
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
albedo_color = Color( 0.64, 0.64, 0.64, 1 )
|
||||
metallic = 0.3
|
||||
metallic_specular = 0.6
|
||||
roughness = 0.0
|
||||
Binary file not shown.
7
3d/truck_town/Materials/car_yellow_body.tres
Normal file
7
3d/truck_town/Materials/car_yellow_body.tres
Normal file
@@ -0,0 +1,7 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "Material.001"
|
||||
albedo_color = Color( 0.256549, 0.225529, 0, 1 )
|
||||
metallic = 0.1
|
||||
roughness = 0.6
|
||||
Binary file not shown.
9
3d/truck_town/Materials/cement.tres
Normal file
9
3d/truck_town/Materials/cement.tres
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://Images/cement.png" type="Texture" id=1]
|
||||
|
||||
[resource]
|
||||
resource_name = "Cement"
|
||||
albedo_texture = ExtResource( 1 )
|
||||
roughness = 0.8
|
||||
uv1_scale = Vector3( 2, 2, 2 )
|
||||
Binary file not shown.
6
3d/truck_town/Materials/door.tres
Normal file
6
3d/truck_town/Materials/door.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "vertexColorShader"
|
||||
albedo_color = Color( 0.559608, 0.476667, 0.127098, 1 )
|
||||
roughness = 0.5
|
||||
Binary file not shown.
9
3d/truck_town/Materials/grass.tres
Normal file
9
3d/truck_town/Materials/grass.tres
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://Images/grass.png" type="Texture" id=1]
|
||||
|
||||
[resource]
|
||||
resource_name = "Grass"
|
||||
albedo_texture = ExtResource( 1 )
|
||||
roughness = 0.8
|
||||
uv1_scale = Vector3( 2, 2, 2 )
|
||||
Binary file not shown.
6
3d/truck_town/Materials/house.tres
Normal file
6
3d/truck_town/Materials/house.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "Material.001"
|
||||
albedo_color = Color( 0.905529, 0.87102, 0.614314, 1 )
|
||||
roughness = 0.0
|
||||
Binary file not shown.
6
3d/truck_town/Materials/roof.tres
Normal file
6
3d/truck_town/Materials/roof.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "Material"
|
||||
albedo_color = Color( 0.17622, 0.025098, 0.0206667, 1 )
|
||||
roughness = 0.0
|
||||
Binary file not shown.
6
3d/truck_town/Materials/roof2.tres
Normal file
6
3d/truck_town/Materials/roof2.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "vertexColorBIBase"
|
||||
albedo_color = Color( 0.332031, 0.0233459, 0.0233459, 1 )
|
||||
roughness = 0.6
|
||||
Binary file not shown.
6
3d/truck_town/Materials/windows.tres
Normal file
6
3d/truck_town/Materials/windows.tres
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
resource_name = "Material.002"
|
||||
albedo_color = Color( 0.0563922, 0.0104314, 0.00341176, 1 )
|
||||
roughness = 0.0
|
||||
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=13 format=2]
|
||||
|
||||
[ext_resource path="res://vehicle.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Materials/car_red_body.material" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/car_window.material" type="Material" id=3]
|
||||
[ext_resource path="res://Materials/car_grill.material" type="Material" id=4]
|
||||
[ext_resource path="res://Materials/car_red_body.tres" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/car_window.tres" type="Material" id=3]
|
||||
[ext_resource path="res://Materials/car_grill.tres" type="Material" id=4]
|
||||
[ext_resource path="res://follow_camera.gd" type="Script" id=5]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id=1]
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[gd_scene load_steps=24 format=2]
|
||||
|
||||
[ext_resource path="res://vehicle.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Materials/car_yellow_body.material" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/car_window.material" type="Material" id=3]
|
||||
[ext_resource path="res://Materials/car_grill.material" type="Material" id=4]
|
||||
[ext_resource path="res://Materials/car_yellow_body.tres" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/car_window.tres" type="Material" id=3]
|
||||
[ext_resource path="res://Materials/car_grill.tres" type="Material" id=4]
|
||||
[ext_resource path="res://follow_camera.gd" type="Script" id=5]
|
||||
[ext_resource path="res://Materials/car_red_body.material" type="Material" id=6]
|
||||
[ext_resource path="res://Materials/car_red_body.tres" type="Material" id=6]
|
||||
|
||||
[sub_resource type="ArrayMesh" id=1]
|
||||
resource_name = "bus.003"
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[gd_scene load_steps=52 format=2]
|
||||
|
||||
[ext_resource path="res://Materials/roof.material" type="Material" id=1]
|
||||
[ext_resource path="res://Materials/roof2.material" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/cement.material" type="Material" id=3]
|
||||
[ext_resource path="res://Materials/grass.material" type="Material" id=4]
|
||||
[ext_resource path="res://Materials/house.material" type="Material" id=5]
|
||||
[ext_resource path="res://Materials/windows.material" type="Material" id=6]
|
||||
[ext_resource path="res://Materials/door.material" type="Material" id=7]
|
||||
[ext_resource path="res://Materials/roof.tres" type="Material" id=1]
|
||||
[ext_resource path="res://Materials/roof2.tres" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/cement.tres" type="Material" id=3]
|
||||
[ext_resource path="res://Materials/grass.tres" type="Material" id=4]
|
||||
[ext_resource path="res://Materials/house.tres" type="Material" id=5]
|
||||
[ext_resource path="res://Materials/windows.tres" type="Material" id=6]
|
||||
[ext_resource path="res://Materials/door.tres" type="Material" id=7]
|
||||
|
||||
[sub_resource type="ArrayMesh" id=1]
|
||||
resource_name = "Cube.003"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_scene load_steps=20 format=2]
|
||||
|
||||
[ext_resource path="res://Materials/car_blue_body.material" type="Material" id=1]
|
||||
[ext_resource path="res://Materials/car_grill.material" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/car_orange_body.material" type="Material" id=3]
|
||||
[ext_resource path="res://Materials/car_blue_body.tres" type="Material" id=1]
|
||||
[ext_resource path="res://Materials/car_grill.tres" type="Material" id=2]
|
||||
[ext_resource path="res://Materials/car_orange_body.tres" type="Material" id=3]
|
||||
[ext_resource path="res://vehicle.gd" type="Script" id=4]
|
||||
[ext_resource path="res://follow_camera.gd" type="Script" id=5]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user