feat: retextured and adjusted the rifle model

This commit is contained in:
Sara 2025-07-29 00:51:16 +02:00
parent adcbf41a48
commit 76857b307d
28 changed files with 798 additions and 79 deletions

View file

@ -6,6 +6,4 @@ cull_mode = 2
albedo_color = Color(0.9063318, 0.9063318, 0.9063318, 1)
roughness = 0.5
use_z_clip_scale = true
z_clip_scale = 0.2
fov_override = 50.0
stencil_flags = 2
z_clip_scale = 0.1

View 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

View file

@ -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

View 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