Some texture stuff
This commit is contained in:
23
Materials/Ball_Mat.tres
Normal file
23
Materials/Ball_Mat.tres
Normal file
@@ -0,0 +1,23 @@
|
||||
[gd_resource type="SpatialMaterial" load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Textures/Custom/ball_NormalMap.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Textures/Custom/ball_Albedo.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Materials/Black_Contour.tres" type="Material" id=3]
|
||||
|
||||
[resource]
|
||||
next_pass = ExtResource( 3 )
|
||||
params_diffuse_mode = 4
|
||||
params_specular_mode = 3
|
||||
albedo_texture = ExtResource( 2 )
|
||||
metallic = 0.33
|
||||
metallic_specular = 0.41
|
||||
roughness = 0.47
|
||||
normal_enabled = true
|
||||
normal_scale = 1.58
|
||||
normal_texture = ExtResource( 1 )
|
||||
uv1_scale = Vector3( 0.5, 1, 1 )
|
||||
uv1_triplanar = true
|
||||
uv1_triplanar_sharpness = 0.307786
|
||||
uv2_scale = Vector3( 0.5, 1, 1 )
|
||||
uv2_triplanar = true
|
||||
uv2_triplanar_sharpness = 0.574349
|
8
Materials/Black_Contour.tres
Normal file
8
Materials/Black_Contour.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="SpatialMaterial" format=2]
|
||||
|
||||
[resource]
|
||||
flags_unshaded = true
|
||||
params_cull_mode = 1
|
||||
params_grow = true
|
||||
params_grow_amount = 0.05
|
||||
albedo_color = Color( 0, 0, 0, 1 )
|
@@ -1,7 +1,9 @@
|
||||
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
|
||||
[gd_resource type="SpatialMaterial" load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Textures/kenney_prototype_textures/dark/texture_01.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Materials/Black_Contour.tres" type="Material" id=2]
|
||||
|
||||
[resource]
|
||||
next_pass = ExtResource( 2 )
|
||||
albedo_texture = ExtResource( 1 )
|
||||
uv1_triplanar = true
|
||||
|
9
Materials/Material_Test.tscn
Normal file
9
Materials/Material_Test.tscn
Normal file
@@ -0,0 +1,9 @@
|
||||
[gd_scene format=2]
|
||||
|
||||
[node name="Spatial" type="Spatial"]
|
||||
|
||||
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
||||
transform = Transform( 0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 5, 5, 5 )
|
||||
|
||||
[node name="Camera" type="Camera" parent="."]
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0799247, 0, 2.16576 )
|
@@ -1,7 +1,9 @@
|
||||
[gd_resource type="SpatialMaterial" load_steps=2 format=2]
|
||||
[gd_resource type="SpatialMaterial" load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Textures/kenney_prototype_textures/orange/texture_01.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Materials/Black_Contour.tres" type="Material" id=2]
|
||||
|
||||
[resource]
|
||||
next_pass = ExtResource( 2 )
|
||||
albedo_texture = ExtResource( 1 )
|
||||
uv1_triplanar = true
|
||||
|
Reference in New Issue
Block a user