Transparent brushes

This commit is contained in:
Marco 2025-07-04 19:14:34 +02:00
commit 5011de651f
18 changed files with 1545 additions and 1207 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

View file

@ -1,35 +1,18 @@
[gd_resource type="Resource" script_class="TrenchBroomGameConfig" load_steps=7 format=3 uid="uid://epxfscc84ib6"]
[gd_resource type="Resource" script_class="TrenchBroomGameConfig" load_steps=10 format=3 uid="uid://epxfscc84ib6"]
[ext_resource type="Resource" uid="uid://8a2w537d05la" path="res://3D/TrenchBroom/Tags/trigger_tag.tres" id="1_2qv8g"]
[ext_resource type="Resource" uid="uid://b4xhdj0e16lop" path="res://addons/func_godot/game_config/trenchbroom/tb_face_tag_clip.tres" id="1_vu564"]
[ext_resource type="Resource" uid="uid://ca7377sfgj074" path="res://addons/func_godot/game_config/trenchbroom/tb_face_tag_skip.tres" id="2_xq8pd"]
[ext_resource type="Resource" uid="uid://bkjxc54mmdhbo" path="res://addons/func_godot/game_config/trenchbroom/tb_face_tag_origin.tres" id="3_sgien"]
[ext_resource type="Resource" uid="uid://cxqi6r6nblcn3" path="res://3D/TrenchBroom/fgd_main.tres" id="4_fiwv4"]
[ext_resource type="Texture2D" uid="uid://decwujsyhj0qy" path="res://addons/func_godot/icon32.png" id="5_0tw2g"]
[ext_resource type="Resource" uid="uid://bdmexobfdwk12" path="res://3D/TrenchBroom/Tags/glass_tag.tres" id="5_lswco"]
[ext_resource type="Script" uid="uid://cfpnvyygr4pb5" path="res://addons/func_godot/src/trenchbroom/trenchbroom_game_config.gd" id="6_478qb"]
[ext_resource type="Resource" uid="uid://chysqo5rdd5p" path="res://3D/TrenchBroom/Tags/test_glass_tag.tres" id="6_lswco"]
[resource]
script = ExtResource("6_478qb")
export_file = false
game_name = "FuncGodot"
icon = ExtResource("5_0tw2g")
map_formats = Array[Dictionary]([{
"format": "Valve",
"initialmap": "initial_valve.map"
}, {
"format": "Standard",
"initialmap": "initial_standard.map"
}, {
"format": "Quake2",
"initialmap": "initial_quake2.map"
}, {
"format": "Quake3"
}])
textures_root_folder = "textures"
texture_exclusion_patterns = Array[String](["*_albedo", "*_ao", "*_emission", "*_height", "*_metallic", "*_normal", "*_orm", "*_roughness", "*_sss"])
palette_path = "textures/palette.lmp"
fgd_file = ExtResource("4_fiwv4")
entity_scale = "16"
brush_tags = Array[Resource]([])
brushface_tags = Array[Resource]([ExtResource("1_vu564"), ExtResource("2_xq8pd"), ExtResource("3_sgien")])
default_uv_scale = Vector2(1, 1)
game_config_version = 0
brush_tags = Array[Resource]([ExtResource("1_2qv8g")])
brushface_tags = Array[Resource]([ExtResource("1_vu564"), ExtResource("2_xq8pd"), ExtResource("3_sgien"), ExtResource("5_lswco"), ExtResource("6_lswco")])

View file

@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="TrenchBroomTag" load_steps=2 format=3 uid="uid://bdmexobfdwk12"]
[ext_resource type="Script" uid="uid://cvwfhwn3pgig1" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_mlp8k"]
[resource]
script = ExtResource("1_mlp8k")
tag_name = "Glass"
tag_pattern = "Glass_*"
metadata/_custom_type_script = "uid://cvwfhwn3pgig1"

View file

@ -0,0 +1,9 @@
[gd_resource type="Resource" script_class="TrenchBroomTag" load_steps=2 format=3 uid="uid://c4nb17juyyhs7"]
[ext_resource type="Script" uid="uid://cvwfhwn3pgig1" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_xv5f6"]
[resource]
script = ExtResource("1_xv5f6")
tag_name = "Liquid"
tag_attributes = Array[String]([])
metadata/_custom_type_script = "uid://cvwfhwn3pgig1"

View file

@ -0,0 +1,10 @@
[gd_resource type="Resource" script_class="TrenchBroomTag" load_steps=2 format=3 uid="uid://chysqo5rdd5p"]
[ext_resource type="Script" uid="uid://cvwfhwn3pgig1" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_vfe4x"]
[resource]
script = ExtResource("1_vfe4x")
tag_name = "Grass"
tag_pattern = "func_geo"
texture_name = "Grass*"
metadata/_custom_type_script = "uid://cvwfhwn3pgig1"

View file

@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="TrenchBroomTag" load_steps=2 format=3 uid="uid://8a2w537d05la"]
[ext_resource type="Script" uid="uid://cvwfhwn3pgig1" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_74773"]
[resource]
script = ExtResource("1_74773")
tag_name = "Trigger"
tag_match_type = 1
tag_pattern = "trigger_*"
texture_name = "trigger"
metadata/_custom_type_script = "uid://cvwfhwn3pgig1"

View file

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://bxwua7k7sqv3a"]
[ext_resource type="Texture2D" uid="uid://bs7sh7opqp7m6" path="res://textures/Floors/Floor6.png" id="1_b8cih"]
[resource]
albedo_texture = ExtResource("1_b8cih")
metallic_specular = 0.0
texture_filter = 2

View file

@ -1,11 +1,8 @@
[gd_resource type="Resource" script_class="TrenchBroomTag" load_steps=2 format=3 uid="uid://b4xhdj0e16lop"]
[ext_resource type="Script" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_7td58"]
[ext_resource type="Script" uid="uid://cvwfhwn3pgig1" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_7td58"]
[resource]
script = ExtResource("1_7td58")
tag_name = "Clip"
tag_attributes = Array[String](["transparent"])
tag_match_type = 0
tag_pattern = "clip"
texture_name = ""

View file

@ -1,11 +1,8 @@
[gd_resource type="Resource" script_class="TrenchBroomTag" load_steps=2 format=3 uid="uid://bkjxc54mmdhbo"]
[ext_resource type="Script" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_enkfc"]
[ext_resource type="Script" uid="uid://cvwfhwn3pgig1" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_enkfc"]
[resource]
script = ExtResource("1_enkfc")
tag_name = "Origin"
tag_attributes = Array[String](["transparent"])
tag_match_type = 0
tag_pattern = "origin"
texture_name = ""

View file

@ -1,11 +1,8 @@
[gd_resource type="Resource" script_class="TrenchBroomTag" load_steps=2 format=3 uid="uid://ca7377sfgj074"]
[ext_resource type="Script" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_2teqe"]
[ext_resource type="Script" uid="uid://cvwfhwn3pgig1" path="res://addons/func_godot/src/trenchbroom/trenchbroom_tag.gd" id="1_2teqe"]
[resource]
script = ExtResource("1_2teqe")
tag_name = "Skip"
tag_attributes = Array[String](["transparent"])
tag_match_type = 0
tag_pattern = "skip"
texture_name = ""

BIN
textures/Manual/Glass_002.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d1uh7npc2dv7s"
path="res://.godot/imported/Glass_002.png-cd3a16421c29009ef6475a60f16bc10e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://textures/Manual/Glass_002.png"
dest_files=["res://.godot/imported/Glass_002.png-cd3a16421c29009ef6475a60f16bc10e.ctex"]
[params]
compress/mode=3
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

View file

@ -0,0 +1,8 @@
[gd_resource type="StandardMaterial3D" load_steps=2 format=3 uid="uid://kdc67iah8mtf"]
[ext_resource type="Texture2D" uid="uid://d1uh7npc2dv7s" path="res://textures/Manual/Glass_002.png" id="1_g2o2s"]
[resource]
albedo_texture = ExtResource("1_g2o2s")
metallic_specular = 0.0
texture_filter = 2

BIN
textures/Manual/Grass_002.png (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dq4kl0k20c5qi"
path="res://.godot/imported/Grass_002.png-a4553e603e8f5673eaa589714cb5c707.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://textures/Manual/Grass_002.png"
dest_files=["res://.godot/imported/Grass_002.png-a4553e603e8f5673eaa589714cb5c707.ctex"]
[params]
compress/mode=3
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
textures/special/trigger.png (Stored with Git LFS)

Binary file not shown.

View file

@ -18,6 +18,8 @@ dest_files=["res://.godot/imported/trigger.png-f879e271e7fabd1268f430358dfe2613.
compress/mode=3
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
@ -25,6 +27,10 @@ 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