feat: retextured and adjusted the rifle model
This commit is contained in:
parent
adcbf41a48
commit
76857b307d
206
assets/materials/metal.ptex
Normal file
206
assets/materials/metal.ptex
Normal file
|
@ -0,0 +1,206 @@
|
||||||
|
{
|
||||||
|
"connections": [
|
||||||
|
{
|
||||||
|
"from": "fbm2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "gaussian_blur",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math_2",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math_2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "colorize",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "colorize",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "Material",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "gaussian_blur",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math",
|
||||||
|
"to_port": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "fbm2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "normal_map2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "Material",
|
||||||
|
"to_port": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math_2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "normal_map2",
|
||||||
|
"to_port": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"label": "Graph",
|
||||||
|
"longdesc": "",
|
||||||
|
"name": "369",
|
||||||
|
"node_position": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"export_last_target": "Blender",
|
||||||
|
"export_paths": {
|
||||||
|
"Blender": "/home/sara/Documents/gd-projects/wave-survival-fps/project/assets/textures/metal/metal"
|
||||||
|
},
|
||||||
|
"name": "Material",
|
||||||
|
"node_position": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"albedo_color": {
|
||||||
|
"a": 1,
|
||||||
|
"b": 1,
|
||||||
|
"g": 1,
|
||||||
|
"r": 1,
|
||||||
|
"type": "Color"
|
||||||
|
},
|
||||||
|
"ao": 1,
|
||||||
|
"depth_scale": 0.5,
|
||||||
|
"emission_energy": 1,
|
||||||
|
"flags_transparent": true,
|
||||||
|
"metallic": 1,
|
||||||
|
"normal": 1,
|
||||||
|
"roughness": 0.25,
|
||||||
|
"size": 11,
|
||||||
|
"sss": 1
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "material"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fbm2",
|
||||||
|
"node_position": {
|
||||||
|
"x": -1712,
|
||||||
|
"y": -20
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"folds": 0,
|
||||||
|
"iterations": 10,
|
||||||
|
"noise": 0,
|
||||||
|
"offset": 0,
|
||||||
|
"persistence": 0.98,
|
||||||
|
"scale_x": 10,
|
||||||
|
"scale_y": 10
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "fbm2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gaussian_blur",
|
||||||
|
"node_position": {
|
||||||
|
"x": -1443.694458,
|
||||||
|
"y": 90.861107
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"param0": 9,
|
||||||
|
"param1": 4.3,
|
||||||
|
"param2": 0
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "gaussian_blur"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "math",
|
||||||
|
"node_position": {
|
||||||
|
"x": -1181,
|
||||||
|
"y": -3
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"clamp": false,
|
||||||
|
"default_in1": 0,
|
||||||
|
"default_in2": 0,
|
||||||
|
"op": 0
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "math"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "math_2",
|
||||||
|
"node_position": {
|
||||||
|
"x": -903,
|
||||||
|
"y": -38
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"clamp": false,
|
||||||
|
"default_in1": 0,
|
||||||
|
"default_in2": 2,
|
||||||
|
"op": 3
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "math"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "colorize",
|
||||||
|
"node_position": {
|
||||||
|
"x": -632,
|
||||||
|
"y": -46.000004
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"gradient": {
|
||||||
|
"interpolation": 1,
|
||||||
|
"points": [
|
||||||
|
{
|
||||||
|
"a": 1,
|
||||||
|
"b": 0.167969,
|
||||||
|
"g": 0.153021,
|
||||||
|
"pos": 0.031302,
|
||||||
|
"r": 0.132538
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"a": 1,
|
||||||
|
"b": 0.449219,
|
||||||
|
"g": 0.44198,
|
||||||
|
"pos": 1,
|
||||||
|
"r": 0.421143
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Gradient"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "colorize"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "normal_map2",
|
||||||
|
"node_position": {
|
||||||
|
"x": -583.357422,
|
||||||
|
"y": 209.24588
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"buffer": 1,
|
||||||
|
"param2": 0,
|
||||||
|
"size": 10,
|
||||||
|
"strength": 0.03
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "normal_map2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"shortdesc": "",
|
||||||
|
"type": "graph"
|
||||||
|
}
|
265
assets/materials/woodgrain.ptex
Normal file
265
assets/materials/woodgrain.ptex
Normal file
|
@ -0,0 +1,265 @@
|
||||||
|
{
|
||||||
|
"connections": [
|
||||||
|
{
|
||||||
|
"from": "colorize",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "Material",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "normal_map2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "Material",
|
||||||
|
"to_port": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math_2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "Material",
|
||||||
|
"to_port": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "Material",
|
||||||
|
"to_port": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "fbm2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math_3",
|
||||||
|
"to_port": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "fbm2_2",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math_3",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math_3",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math_4",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math_4",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "colorize",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math_4",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "math_2",
|
||||||
|
"to_port": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "math_4",
|
||||||
|
"from_port": 0,
|
||||||
|
"to": "normal_map2",
|
||||||
|
"to_port": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"label": "Graph",
|
||||||
|
"longdesc": "",
|
||||||
|
"name": "369",
|
||||||
|
"node_position": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"export_last_target": "Blender",
|
||||||
|
"export_paths": {
|
||||||
|
"Blender": "/home/sara/Documents/gd-projects/wave-survival-fps/project/assets/textures/woodgrain/woodgrain"
|
||||||
|
},
|
||||||
|
"name": "Material",
|
||||||
|
"node_position": {
|
||||||
|
"x": -261,
|
||||||
|
"y": -157
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"albedo_color": {
|
||||||
|
"a": 1,
|
||||||
|
"b": 1,
|
||||||
|
"g": 1,
|
||||||
|
"r": 1,
|
||||||
|
"type": "Color"
|
||||||
|
},
|
||||||
|
"ao": 1,
|
||||||
|
"depth_scale": 0.5,
|
||||||
|
"emission_energy": 1,
|
||||||
|
"flags_transparent": true,
|
||||||
|
"metallic": 0.27,
|
||||||
|
"normal": 1,
|
||||||
|
"roughness": 1,
|
||||||
|
"size": 11,
|
||||||
|
"sss": 1
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "material"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fbm2",
|
||||||
|
"node_position": {
|
||||||
|
"x": -1519.475952,
|
||||||
|
"y": -49.501205
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"folds": 0,
|
||||||
|
"iterations": 1,
|
||||||
|
"noise": 9,
|
||||||
|
"offset": -0.29,
|
||||||
|
"persistence": 0.5,
|
||||||
|
"scale_x": 33,
|
||||||
|
"scale_y": 11
|
||||||
|
},
|
||||||
|
"seed_int": 2286710528,
|
||||||
|
"type": "fbm2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "colorize",
|
||||||
|
"node_position": {
|
||||||
|
"x": -588.617126,
|
||||||
|
"y": -194.049042
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"gradient": {
|
||||||
|
"interpolation": 1,
|
||||||
|
"points": [
|
||||||
|
{
|
||||||
|
"a": 1,
|
||||||
|
"b": 0.031693,
|
||||||
|
"g": 0.117952,
|
||||||
|
"pos": 0.307692,
|
||||||
|
"r": 0.261719
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"a": 1,
|
||||||
|
"b": 0.127655,
|
||||||
|
"g": 0.20245,
|
||||||
|
"pos": 0.640885,
|
||||||
|
"r": 0.347656
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"a": 1,
|
||||||
|
"b": 0.234985,
|
||||||
|
"g": 0.321144,
|
||||||
|
"pos": 0.81625,
|
||||||
|
"r": 0.429688
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "Gradient"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "colorize"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "normal_map2",
|
||||||
|
"node_position": {
|
||||||
|
"x": -569.059753,
|
||||||
|
"y": 94.181038
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"buffer": 1,
|
||||||
|
"param2": 0,
|
||||||
|
"size": 10,
|
||||||
|
"strength": 0.01
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "normal_map2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "math_2",
|
||||||
|
"node_position": {
|
||||||
|
"x": -719.059753,
|
||||||
|
"y": -78.346741
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"clamp": false,
|
||||||
|
"default_in1": 0,
|
||||||
|
"default_in2": 0.4,
|
||||||
|
"op": 2
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "math"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "math",
|
||||||
|
"node_position": {
|
||||||
|
"x": -511.420837,
|
||||||
|
"y": -76.957855
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"clamp": true,
|
||||||
|
"default_in1": 0,
|
||||||
|
"default_in2": 0.54,
|
||||||
|
"op": 0
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "math"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "fbm2_2",
|
||||||
|
"node_position": {
|
||||||
|
"x": -1524.254761,
|
||||||
|
"y": -291.327667
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"folds": 0,
|
||||||
|
"iterations": 1,
|
||||||
|
"noise": 9,
|
||||||
|
"offset": -0.29,
|
||||||
|
"persistence": 0.5,
|
||||||
|
"scale_x": 440,
|
||||||
|
"scale_y": 32
|
||||||
|
},
|
||||||
|
"seed_int": 1364257280,
|
||||||
|
"type": "fbm2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "math_3",
|
||||||
|
"node_position": {
|
||||||
|
"x": -1233.410522,
|
||||||
|
"y": -105.440308
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"clamp": false,
|
||||||
|
"default_in1": 0,
|
||||||
|
"default_in2": 0,
|
||||||
|
"op": 0
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "math"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "math_4",
|
||||||
|
"node_position": {
|
||||||
|
"x": -1004.905396,
|
||||||
|
"y": -115.8423
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"clamp": false,
|
||||||
|
"default_in1": 0,
|
||||||
|
"default_in2": 2,
|
||||||
|
"op": 3
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"type": "math"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"seed_int": 0,
|
||||||
|
"shortdesc": "",
|
||||||
|
"type": "graph"
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
|
@ -6,6 +6,4 @@ cull_mode = 2
|
||||||
albedo_color = Color(0.9063318, 0.9063318, 0.9063318, 1)
|
albedo_color = Color(0.9063318, 0.9063318, 0.9063318, 1)
|
||||||
roughness = 0.5
|
roughness = 0.5
|
||||||
use_z_clip_scale = true
|
use_z_clip_scale = true
|
||||||
z_clip_scale = 0.2
|
z_clip_scale = 0.1
|
||||||
fov_override = 50.0
|
|
||||||
stencil_flags = 2
|
|
||||||
|
|
16
project/assets/materials/weapons/metal.tres
Normal file
16
project/assets/materials/weapons/metal.tres
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
[gd_resource type="StandardMaterial3D" load_steps=3 format=3 uid="uid://cey2t4uje80f3"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bfk5amosuiriq" path="res://assets/textures/metal/metal_albedo.png" id="1_7pld1"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://b2uh6cnh7e1xr" path="res://assets/textures/metal/metal_normal.png" id="2_vujp3"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
resource_name = "metal"
|
||||||
|
cull_mode = 2
|
||||||
|
albedo_texture = ExtResource("1_7pld1")
|
||||||
|
metallic = 0.98
|
||||||
|
metallic_specular = 0.85
|
||||||
|
roughness = 0.48
|
||||||
|
normal_enabled = true
|
||||||
|
normal_texture = ExtResource("2_vujp3")
|
||||||
|
use_z_clip_scale = true
|
||||||
|
z_clip_scale = 0.1
|
|
@ -1,13 +0,0 @@
|
||||||
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://56reb3m4e6fd"]
|
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://48j7riad4n6g" path="res://assets/models/weapons/rifle_lee_enfield.jpg" id="1_eg0kj"]
|
|
||||||
|
|
||||||
[resource]
|
|
||||||
resource_name = "rifle"
|
|
||||||
cull_mode = 2
|
|
||||||
albedo_texture = ExtResource("1_eg0kj")
|
|
||||||
metallic = 0.29381442
|
|
||||||
roughness = 0.6443299
|
|
||||||
use_z_clip_scale = true
|
|
||||||
z_clip_scale = 0.2
|
|
||||||
fov_override = 50.0
|
|
19
project/assets/materials/weapons/wood.tres
Normal file
19
project/assets/materials/weapons/wood.tres
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[gd_resource type="StandardMaterial3D" load_steps=4 format=3 uid="uid://bvy3xngb287wd"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dstrf0oxck5by" path="res://assets/textures/woodgrain/woodgrain_albedo.png" id="1_4wqgt"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://celwjqrlb4cdv" path="res://assets/textures/woodgrain/woodgrain_rough.exr" id="2_o8vs7"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://doix25s0krepr" path="res://assets/textures/woodgrain/woodgrain_normal.png" id="3_elfj7"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
resource_name = "wood"
|
||||||
|
cull_mode = 2
|
||||||
|
albedo_texture = ExtResource("1_4wqgt")
|
||||||
|
metallic = 1.0
|
||||||
|
metallic_texture = ExtResource("2_o8vs7")
|
||||||
|
metallic_texture_channel = 2
|
||||||
|
roughness_texture = ExtResource("2_o8vs7")
|
||||||
|
roughness_texture_channel = 1
|
||||||
|
normal_enabled = true
|
||||||
|
normal_texture = ExtResource("3_elfj7")
|
||||||
|
use_z_clip_scale = true
|
||||||
|
z_clip_scale = 0.1
|
BIN
project/assets/models/weapons/rifle.blend
Normal file
BIN
project/assets/models/weapons/rifle.blend
Normal file
Binary file not shown.
77
project/assets/models/weapons/rifle.blend.import
Normal file
77
project/assets/models/weapons/rifle.blend.import
Normal file
|
@ -0,0 +1,77 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://bodfxp36t6v36"
|
||||||
|
path="res://.godot/imported/rifle.blend-14798bc6ebcedec88609ba3fc12be686.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/models/weapons/rifle.blend"
|
||||||
|
dest_files=["res://.godot/imported/rifle.blend-14798bc6ebcedec88609ba3fc12be686.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/root_script=null
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
nodes/import_as_skeleton_bones=false
|
||||||
|
nodes/use_name_suffixes=true
|
||||||
|
nodes/use_node_type_suffixes=true
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
animation/import_rest_as_RESET=false
|
||||||
|
import_script/path=""
|
||||||
|
materials/extract=0
|
||||||
|
materials/extract_format=0
|
||||||
|
materials/extract_path=""
|
||||||
|
_subresources={
|
||||||
|
"materials": {
|
||||||
|
"arms": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/fallback_path": "res://assets/materials/weapons/arms.tres",
|
||||||
|
"use_external/path": "uid://dgl8ygpyta7b0"
|
||||||
|
},
|
||||||
|
"metal": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/fallback_path": "res://assets/materials/weapons/metal.tres",
|
||||||
|
"use_external/path": "uid://cey2t4uje80f3"
|
||||||
|
},
|
||||||
|
"wood": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/fallback_path": "res://assets/materials/weapons/wood.tres",
|
||||||
|
"use_external/path": "uid://bvy3xngb287wd"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
blender/nodes/visible=0
|
||||||
|
blender/nodes/active_collection_only=false
|
||||||
|
blender/nodes/punctual_lights=true
|
||||||
|
blender/nodes/cameras=true
|
||||||
|
blender/nodes/custom_properties=true
|
||||||
|
blender/nodes/modifiers=1
|
||||||
|
blender/meshes/colors=false
|
||||||
|
blender/meshes/uvs=true
|
||||||
|
blender/meshes/normals=true
|
||||||
|
blender/meshes/export_geometry_nodes_instances=false
|
||||||
|
blender/meshes/tangents=true
|
||||||
|
blender/meshes/skins=2
|
||||||
|
blender/meshes/export_bones_deforming_mesh_only=false
|
||||||
|
blender/materials/unpack_enabled=true
|
||||||
|
blender/materials/export_materials=1
|
||||||
|
blender/animation/limit_playback=true
|
||||||
|
blender/animation/always_sample=true
|
||||||
|
blender/animation/group_tracks=true
|
||||||
|
gltf/naming_version=2
|
Binary file not shown.
Binary file not shown.
|
@ -1,55 +0,0 @@
|
||||||
[remap]
|
|
||||||
|
|
||||||
importer="scene"
|
|
||||||
importer_version=1
|
|
||||||
type="PackedScene"
|
|
||||||
uid="uid://c8jbxkm1paa8u"
|
|
||||||
path="res://.godot/imported/rifle.glb-7e791117157b5204625fa46cea3758ea.scn"
|
|
||||||
|
|
||||||
[deps]
|
|
||||||
|
|
||||||
source_file="res://assets/models/weapons/rifle.glb"
|
|
||||||
dest_files=["res://.godot/imported/rifle.glb-7e791117157b5204625fa46cea3758ea.scn"]
|
|
||||||
|
|
||||||
[params]
|
|
||||||
|
|
||||||
nodes/root_type=""
|
|
||||||
nodes/root_name=""
|
|
||||||
nodes/root_script=null
|
|
||||||
nodes/apply_root_scale=true
|
|
||||||
nodes/root_scale=1.0
|
|
||||||
nodes/import_as_skeleton_bones=false
|
|
||||||
nodes/use_name_suffixes=true
|
|
||||||
nodes/use_node_type_suffixes=true
|
|
||||||
meshes/ensure_tangents=true
|
|
||||||
meshes/generate_lods=true
|
|
||||||
meshes/create_shadow_meshes=true
|
|
||||||
meshes/light_baking=1
|
|
||||||
meshes/lightmap_texel_size=0.2
|
|
||||||
meshes/force_disable_compression=false
|
|
||||||
skins/use_named_skins=true
|
|
||||||
animation/import=true
|
|
||||||
animation/fps=30
|
|
||||||
animation/trimming=false
|
|
||||||
animation/remove_immutable_tracks=true
|
|
||||||
animation/import_rest_as_RESET=false
|
|
||||||
import_script/path=""
|
|
||||||
materials/extract=1
|
|
||||||
materials/extract_format=0
|
|
||||||
materials/extract_path="res://assets/materials/weapons"
|
|
||||||
_subresources={
|
|
||||||
"materials": {
|
|
||||||
"arms": {
|
|
||||||
"use_external/enabled": true,
|
|
||||||
"use_external/fallback_path": "res://assets/materials/weapons/arms.tres",
|
|
||||||
"use_external/path": "uid://dgl8ygpyta7b0"
|
|
||||||
},
|
|
||||||
"rifle": {
|
|
||||||
"use_external/enabled": true,
|
|
||||||
"use_external/fallback_path": "res://assets/materials/weapons/rifle.tres",
|
|
||||||
"use_external/path": "uid://56reb3m4e6fd"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
gltf/naming_version=1
|
|
||||||
gltf/embedded_image_handling=1
|
|
Binary file not shown.
Before Width: | Height: | Size: 29 KiB |
BIN
project/assets/textures/metal/metal_albedo.png
Normal file
BIN
project/assets/textures/metal/metal_albedo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4 MiB |
|
@ -2,20 +2,17 @@
|
||||||
|
|
||||||
importer="texture"
|
importer="texture"
|
||||||
type="CompressedTexture2D"
|
type="CompressedTexture2D"
|
||||||
uid="uid://48j7riad4n6g"
|
uid="uid://bfk5amosuiriq"
|
||||||
path.s3tc="res://.godot/imported/rifle_lee_enfield.jpg-3d7c7612e94a4e73effbe000ea16a19a.s3tc.ctex"
|
path.s3tc="res://.godot/imported/metal_albedo.png-20be0dd630117143fd050711aa1a1740.s3tc.ctex"
|
||||||
metadata={
|
metadata={
|
||||||
"imported_formats": ["s3tc_bptc"],
|
"imported_formats": ["s3tc_bptc"],
|
||||||
"vram_texture": true
|
"vram_texture": true
|
||||||
}
|
}
|
||||||
generator_parameters={
|
|
||||||
"md5": "089dd972f5e3dfeee508b839c59d2347"
|
|
||||||
}
|
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://assets/models/weapons/rifle_lee_enfield.jpg"
|
source_file="res://assets/textures/metal/metal_albedo.png"
|
||||||
dest_files=["res://.godot/imported/rifle_lee_enfield.jpg-3d7c7612e94a4e73effbe000ea16a19a.s3tc.ctex"]
|
dest_files=["res://.godot/imported/metal_albedo.png-20be0dd630117143fd050711aa1a1740.s3tc.ctex"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
BIN
project/assets/textures/metal/metal_normal.png
Normal file
BIN
project/assets/textures/metal/metal_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 MiB |
41
project/assets/textures/metal/metal_normal.png.import
Normal file
41
project/assets/textures/metal/metal_normal.png.import
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b2uh6cnh7e1xr"
|
||||||
|
path.s3tc="res://.godot/imported/metal_normal.png-f9b5f97999979a27faee5f0953fcc26a.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/textures/metal/metal_normal.png"
|
||||||
|
dest_files=["res://.godot/imported/metal_normal.png-f9b5f97999979a27faee5f0953fcc26a.s3tc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=1
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=1
|
||||||
|
roughness/src_normal="res://assets/textures/metal/metal_normal.png"
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
BIN
project/assets/textures/woodgrain/woodgrain_albedo.png
Normal file
BIN
project/assets/textures/woodgrain/woodgrain_albedo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
|
@ -0,0 +1,41 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dstrf0oxck5by"
|
||||||
|
path.s3tc="res://.godot/imported/woodgrain_albedo.png-750f70e1e84a30aced10854454e1255d.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/textures/woodgrain/woodgrain_albedo.png"
|
||||||
|
dest_files=["res://.godot/imported/woodgrain_albedo.png-750f70e1e84a30aced10854454e1255d.s3tc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
BIN
project/assets/textures/woodgrain/woodgrain_metal.exr
Normal file
BIN
project/assets/textures/woodgrain/woodgrain_metal.exr
Normal file
Binary file not shown.
40
project/assets/textures/woodgrain/woodgrain_metal.exr.import
Normal file
40
project/assets/textures/woodgrain/woodgrain_metal.exr.import
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c58s4rk8bnwhe"
|
||||||
|
path="res://.godot/imported/woodgrain_metal.exr-4e059ee7fe23db91f18cb62260fc30f7.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/textures/woodgrain/woodgrain_metal.exr"
|
||||||
|
dest_files=["res://.godot/imported/woodgrain_metal.exr-4e059ee7fe23db91f18cb62260fc30f7.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
project/assets/textures/woodgrain/woodgrain_normal.png
Normal file
BIN
project/assets/textures/woodgrain/woodgrain_normal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 414 KiB |
|
@ -0,0 +1,41 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://doix25s0krepr"
|
||||||
|
path.s3tc="res://.godot/imported/woodgrain_normal.png-307903992e88c9a2cbeed193acaf9481.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/textures/woodgrain/woodgrain_normal.png"
|
||||||
|
dest_files=["res://.godot/imported/woodgrain_normal.png-307903992e88c9a2cbeed193acaf9481.s3tc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=1
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=1
|
||||||
|
roughness/src_normal="res://assets/textures/woodgrain/woodgrain_normal.png"
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
BIN
project/assets/textures/woodgrain/woodgrain_rough.exr
Normal file
BIN
project/assets/textures/woodgrain/woodgrain_rough.exr
Normal file
Binary file not shown.
41
project/assets/textures/woodgrain/woodgrain_rough.exr.import
Normal file
41
project/assets/textures/woodgrain/woodgrain_rough.exr.import
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://celwjqrlb4cdv"
|
||||||
|
path.bptc="res://.godot/imported/woodgrain_rough.exr-c0d9b7d4bbe138dfb750e030a31a8155.bptc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/textures/woodgrain/woodgrain_rough.exr"
|
||||||
|
dest_files=["res://.godot/imported/woodgrain_rough.exr-c0d9b7d4bbe138dfb750e030a31a8155.bptc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
|
@ -403,6 +403,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.56762, -2.2319336, 71.1054
|
||||||
operation = 2
|
operation = 2
|
||||||
size = Vector3(98.4565, 5.463867, 39.458916)
|
size = Vector3(98.4565, 5.463867, 39.458916)
|
||||||
|
|
||||||
|
[node name="CSGBox3D9" type="CSGBox3D" parent="Terrain"]
|
||||||
|
transform = Transform3D(0.90530956, 0, 0.4247525, 0, 1, 0, -0.4247525, 0, 0.90530956, 58.50878, -2.2319298, 58.448696)
|
||||||
|
operation = 2
|
||||||
|
size = Vector3(40.76953, 5.463867, 39.458916)
|
||||||
|
|
||||||
[node name="CSGBox3D4" type="CSGBox3D" parent="Terrain"]
|
[node name="CSGBox3D4" type="CSGBox3D" parent="Terrain"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 0.7289446, -0.6845726, 0, 0.6845726, 0.7289446, -2.95533, 1.3600307, 55.553867)
|
transform = Transform3D(1, 0, 0, 0, 0.7289446, -0.6845726, 0, 0.6845726, 0.7289446, -2.95533, 1.3600307, 55.553867)
|
||||||
operation = 2
|
operation = 2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://ce40pq785yoyi"]
|
[gd_scene load_steps=2 format=3 uid="uid://ce40pq785yoyi"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://c8jbxkm1paa8u" path="res://assets/models/weapons/rifle.glb" id="1_afgyw"]
|
[ext_resource type="PackedScene" uid="uid://bodfxp36t6v36" path="res://assets/models/weapons/rifle.blend" id="1_afgyw"]
|
||||||
|
|
||||||
[node name="Rifle" type="Rifle" node_paths=PackedStringArray("anim")]
|
[node name="Rifle" type="Rifle" node_paths=PackedStringArray("anim")]
|
||||||
anim = NodePath("rifle/AnimationPlayer")
|
anim = NodePath("rifle/AnimationPlayer")
|
||||||
|
|
Loading…
Reference in a new issue