Added puddles to test decals

remotes/1705725415861086127/tmp_refs/heads/main
unfa 2021-09-21 02:05:20 +02:00
parent 631a668bd6
commit 99bb1bec2b
8 changed files with 275 additions and 3 deletions

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="1024"
height="1024"
viewBox="0 0 270.93333 270.93333"
version="1.1"
id="svg1203"
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
sodipodi:docname="Puddle.svg"
inkscape:export-filename="Puddle_Albedo.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1205"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
units="px"
showguides="true"
inkscape:guide-bbox="true"
inkscape:zoom="0.60399832"
inkscape:cx="506.62393"
inkscape:cy="599.33942"
inkscape:window-width="1920"
inkscape:window-height="1051"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs1200">
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter1416"
x="-0.14788942"
y="-0.13979368"
width="1.2957788"
height="1.2795874">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="11.966974"
id="feGaussianBlur1418" />
</filter>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g1414"
style="mix-blend-mode:normal;filter:url(#filter1416)"
transform="translate(6.1496409,2.0446845)">
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="path1286"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.26458333,0,0,0.26458333,-28.853967,-47.655841)" />
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="circle1390"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.26458333,0,0,0.26458333,42.263889,-47.655841)" />
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="circle1392"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.26458333,0,0,0.26458333,57.968777,25.076173)" />
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="circle1394"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.26458333,0,0,0.26458333,-9.1066065,33.563719)" />
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="circle1396"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.10524272,0,0,0.10524272,13.592356,126.69187)" />
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="circle1398"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.10524272,0,0,0.10524272,13.592356,126.69187)" />
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="circle1400"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.12587625,0,0,0.12587625,95.956552,151.22205)" />
<circle
style="fill:#ffffff;stroke:none;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="circle1402"
cx="445.89297"
cy="494.05191"
r="192.34131"
transform="matrix(0.12587625,0,0,0.12587625,0.71465382,64.384507)" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
Game/Assets/Decals/Puddle_Albedo.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
uid="uid://4fe0w7db5jy7"
path="res://.godot/imported/Puddle_Albedo.png-c1987df962c73afcb77d54235d06652a.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Decals/Puddle_Albedo.png"
dest_files=["res://.godot/imported/Puddle_Albedo.png-c1987df962c73afcb77d54235d06652a.stex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
compress/streamed=false
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/HDR_as_SRGB=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0

BIN
Game/Assets/Decals/Puddle_Normal.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
uid="uid://bw47ok2363v8p"
path="res://.godot/imported/Puddle_Normal.png-26e780b975fe8d6b3acb6656acdeca11.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Decals/Puddle_Normal.png"
dest_files=["res://.godot/imported/Puddle_Normal.png-26e780b975fe8d6b3acb6656acdeca11.stex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
compress/streamed=false
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/HDR_as_SRGB=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0

BIN
Game/Assets/Decals/Puddle_ORM.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
uid="uid://daphvbx7ktd4p"
path="res://.godot/imported/Puddle_ORM.png-4a7cf333057d673b1d493b30c95b2634.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Decals/Puddle_ORM.png"
dest_files=["res://.godot/imported/Puddle_ORM.png-4a7cf333057d673b1d493b30c95b2634.stex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
compress/streamed=false
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/HDR_as_SRGB=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0

View File

@ -1,8 +1,11 @@
[gd_scene load_steps=14 format=3 uid="uid://b1078bn8gy2qf"]
[gd_scene load_steps=17 format=3 uid="uid://b1078bn8gy2qf"]
[ext_resource type="PackedScene" path="res://Assets/MapComponents/SpawnPoint.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://caipucfu7hjkk" path="res://Assets/Props/BeerCan.tscn" id="1_ecbkv"]
[ext_resource type="Texture2D" uid="uid://4fe0w7db5jy7" path="res://Assets/Decals/Puddle_Albedo.png" id="1_ucgnk"]
[ext_resource type="PackedScene" uid="uid://diwti216q43ll" path="res://Assets/Props/Resonator.tscn" id="2_2mxc7"]
[ext_resource type="Texture2D" uid="uid://bw47ok2363v8p" path="res://Assets/Decals/Puddle_Normal.png" id="2_lx0ok"]
[ext_resource type="Texture2D" uid="uid://daphvbx7ktd4p" path="res://Assets/Decals/Puddle_ORM.png" id="3_j0uem"]
[ext_resource type="PackedScene" uid="uid://w476ulvte1f6" path="res://Assets/Maps/DM1/DM1.glb" id="6"]
[sub_resource type="OpenSimplexNoise" id="OpenSimplexNoise_8aprf"]
@ -89,8 +92,40 @@ __meta__ = {
"_edit_lock_": true
}
[node name="Decal" type="Decal" parent="Decals"]
transform = Transform3D(1, 0, -1.11022e-15, 0, 1, 0, -1.11022e-15, 0, 1, -5.04466, 1.35171, -3.57002)
[node name="Puddle" type="Decal" parent="Decals"]
transform = Transform3D(0.965926, 3.60267e-09, -0.258819, -0.258819, -3.45404e-08, -0.965926, 1.73827e-08, 1, -3.83592e-08, -1.30654, 0.350086, -3.57002)
extents = Vector3(2, 1, 2)
texture_albedo = ExtResource( "1_ucgnk" )
texture_normal = ExtResource( "2_lx0ok" )
texture_orm = ExtResource( "3_j0uem" )
albedo_mix = 0.0
script = null
[node name="Puddle2" type="Decal" parent="Decals"]
transform = Transform3D(0.965926, 3.60267e-09, -0.258819, -0.258819, -3.45404e-08, -0.965926, 1.73827e-08, 1, -3.83592e-08, 12.251, -7.12832, -3.57002)
extents = Vector3(2, 1, 2)
texture_albedo = ExtResource( "1_ucgnk" )
texture_normal = ExtResource( "2_lx0ok" )
texture_orm = ExtResource( "3_j0uem" )
albedo_mix = 0.0
script = null
[node name="Puddle4" type="Decal" parent="Decals"]
transform = Transform3D(0.965926, 3.60267e-09, -0.258819, -0.258819, -3.45404e-08, -0.965926, 1.73827e-08, 1, -3.83592e-08, 20.9798, 2.71926, -3.96103)
extents = Vector3(4.83956, 0.0530415, 2.96586)
texture_albedo = ExtResource( "1_ucgnk" )
texture_normal = ExtResource( "2_lx0ok" )
texture_orm = ExtResource( "3_j0uem" )
albedo_mix = 0.0
script = null
[node name="Puddle3" type="Decal" parent="Decals"]
transform = Transform3D(0.965926, 3.60267e-09, -0.258819, -0.258819, -3.45404e-08, -0.965926, 1.73827e-08, 1, -3.83592e-08, 15.9006, 9.19937, 4.07497)
extents = Vector3(2, 1, 2)
texture_albedo = ExtResource( "1_ucgnk" )
texture_normal = ExtResource( "2_lx0ok" )
texture_orm = ExtResource( "3_j0uem" )
albedo_mix = 0.0
script = null
[node name="Lights" type="Node3D" parent="."]