Adding basic grid world triplanar texture for better scale vizualisation
This commit is contained in:
parent
d264aa459a
commit
9912e8a018
6 changed files with 204 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
[gd_scene load_steps=2 format=3 uid="uid://dhqay3umgle6c"]
|
[gd_scene load_steps=3 format=3 uid="uid://dhqay3umgle6c"]
|
||||||
|
|
||||||
|
[ext_resource type="Material" uid="uid://cdijyqa881tvv" path="res://maps/simple_grid.material" id="1_ympm1"]
|
||||||
|
|
||||||
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
|
[sub_resource type="BoxMesh" id="BoxMesh_k23th"]
|
||||||
|
material = ExtResource( "1_ympm1" )
|
||||||
|
|
||||||
[node name="basic_setup" type="Node3D"]
|
[node name="basic_setup" type="Node3D"]
|
||||||
|
|
||||||
|
|
BIN
maps/simple_grid.material
Normal file
BIN
maps/simple_grid.material
Normal file
Binary file not shown.
BIN
maps/simple_grid.png
Normal file
BIN
maps/simple_grid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
36
maps/simple_grid.png.import
Normal file
36
maps/simple_grid.png.import
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://bdygfoyj1jnlr"
|
||||||
|
path.s3tc="res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.s3tc.stex"
|
||||||
|
path.etc2="res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.etc2.stex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc", "etc2"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://maps/simple_grid.png"
|
||||||
|
dest_files=["res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.s3tc.stex", "res://.godot/imported/simple_grid.png-dfe958715033e9782a84577745ca44ba.etc2.stex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
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=true
|
||||||
|
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=0
|
129
maps/simple_grid.svg
Normal file
129
maps/simple_grid.svg
Normal file
|
@ -0,0 +1,129 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="1024"
|
||||||
|
height="1024"
|
||||||
|
viewBox="0 0 1024 1024"
|
||||||
|
version="1.1"
|
||||||
|
id="svg5"
|
||||||
|
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
|
||||||
|
sodipodi:docname="simple_grid.svg"
|
||||||
|
inkscape:export-filename="/home/yann/Documents/Games/godot4/godot-third-person-basic-scene/maps/simple_grid.png"
|
||||||
|
inkscape:export-xdpi="192"
|
||||||
|
inkscape:export-ydpi="192"
|
||||||
|
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="namedview7"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
showgrid="false"
|
||||||
|
width="1024px"
|
||||||
|
showguides="true"
|
||||||
|
inkscape:guide-bbox="true"
|
||||||
|
inkscape:zoom="0.21899414"
|
||||||
|
inkscape:cx="385.85507"
|
||||||
|
inkscape:cy="885.86845"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="997"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="31"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1" />
|
||||||
|
<defs
|
||||||
|
id="defs2" />
|
||||||
|
<g
|
||||||
|
inkscape:label="Calque 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4.75461px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1"
|
||||||
|
id="rect6449"
|
||||||
|
width="1024"
|
||||||
|
height="1024"
|
||||||
|
x="0"
|
||||||
|
y="0" />
|
||||||
|
<g
|
||||||
|
id="g6124"
|
||||||
|
transform="scale(1.0222159,1.0120716)">
|
||||||
|
<rect
|
||||||
|
style="fill:#000000;fill-opacity:0.345588;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;-inkscape-stroke:none;stop-color:#000000"
|
||||||
|
id="rect4181"
|
||||||
|
width="500.87265"
|
||||||
|
height="505.89304"
|
||||||
|
x="0"
|
||||||
|
y="0" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1"
|
||||||
|
id="rect4181-2"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="0"
|
||||||
|
y="0" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1"
|
||||||
|
id="rect4181-2-0"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="250.43631"
|
||||||
|
y="252.94655" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000;stop-opacity:1"
|
||||||
|
id="rect4181-2-6"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="500.87259"
|
||||||
|
y="1.8845984e-05" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000"
|
||||||
|
id="rect4181-2-6-8"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="751.3089"
|
||||||
|
y="252.94655" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000"
|
||||||
|
id="rect4181-2-9"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="3.7317921e-05"
|
||||||
|
y="505.89297" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000"
|
||||||
|
id="rect4181-2-0-6"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="250.43634"
|
||||||
|
y="758.8396" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000"
|
||||||
|
id="rect4181-2-6-0"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="500.87265"
|
||||||
|
y="505.89304" />
|
||||||
|
<rect
|
||||||
|
style="font-variation-settings:normal;vector-effect:none;fill:#000000;fill-opacity:0.183186;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#000000"
|
||||||
|
id="rect4181-2-6-8-7"
|
||||||
|
width="250.43633"
|
||||||
|
height="252.94652"
|
||||||
|
x="751.30902"
|
||||||
|
y="758.8396" />
|
||||||
|
<rect
|
||||||
|
style="fill:#000000;fill-opacity:0.345588;fill-rule:evenodd;stroke:none;stroke-width:13.8796px;-inkscape-stroke:none;stop-color:#000000"
|
||||||
|
id="rect4181-8"
|
||||||
|
width="500.87265"
|
||||||
|
height="505.89304"
|
||||||
|
x="500.87265"
|
||||||
|
y="505.89304" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 6.1 KiB |
35
maps/simple_grid.svg.import
Normal file
35
maps/simple_grid.svg.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture2D"
|
||||||
|
uid="uid://cs1ay0dxlxycu"
|
||||||
|
path="res://.godot/imported/simple_grid.svg-f82d0c43d35c5672d272b26df164bd26.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://maps/simple_grid.svg"
|
||||||
|
dest_files=["res://.godot/imported/simple_grid.svg-f82d0c43d35c5672d272b26df164bd26.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
|
Loading…
Reference in a new issue