Working naive voxel mesher.

This commit is contained in:
Joshua Bemenderfer
2020-10-06 22:11:14 -04:00
parent 0c64ddb7c6
commit c2df101161
31 changed files with 1634 additions and 6 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/dirt.png-8af1c65fe27c13dab9fdae9d91a53924.s3tc.stex"
path.etc2="res://.import/dirt.png-8af1c65fe27c13dab9fdae9d91a53924.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://packages/voxel_mesher/materials/dirt.png"
dest_files=[ "res://.import/dirt.png-8af1c65fe27c13dab9fdae9d91a53924.s3tc.stex", "res://.import/dirt.png-8af1c65fe27c13dab9fdae9d91a53924.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/glass.png-0d37c0e0ffcc302b4c968b49d87dcb11.s3tc.stex"
path.etc2="res://.import/glass.png-0d37c0e0ffcc302b4c968b49d87dcb11.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://packages/voxel_mesher/materials/glass.png"
dest_files=[ "res://.import/glass.png-0d37c0e0ffcc302b4c968b49d87dcb11.s3tc.stex", "res://.import/glass.png-0d37c0e0ffcc302b4c968b49d87dcb11.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/grass.png-e54cc488a93b6f678f43a532da5748f8.s3tc.stex"
path.etc2="res://.import/grass.png-e54cc488a93b6f678f43a532da5748f8.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://packages/voxel_mesher/materials/grass.png"
dest_files=[ "res://.import/grass.png-e54cc488a93b6f678f43a532da5748f8.s3tc.stex", "res://.import/grass.png-e54cc488a93b6f678f43a532da5748f8.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/lamp.png-1317a31813d383462a2bde47b8cba7d5.s3tc.stex"
path.etc2="res://.import/lamp.png-1317a31813d383462a2bde47b8cba7d5.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://packages/voxel_mesher/materials/lamp.png"
dest_files=[ "res://.import/lamp.png-1317a31813d383462a2bde47b8cba7d5.s3tc.stex", "res://.import/lamp.png-1317a31813d383462a2bde47b8cba7d5.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=false
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0