Compare commits
6 Commits
7de8a3f668
...
4f957ba862
Author | SHA1 | Date |
---|---|---|
Marc | 4f957ba862 | |
HK-SHAO | fe0279c7d0 | |
Marc Gilleron | 20c70c2fd1 | |
Marc Gilleron | 962f11b018 | |
Marc Gilleron | 80736b0499 | |
Marc | 0690648ff1 |
|
@ -1,7 +1,7 @@
|
|||
Voxel game demos (Godot Engine)
|
||||
===============================
|
||||
|
||||
This project contains several scenes to test and demo the voxel module I'm developping for Godot Engine.
|
||||
This project contains several scenes to test and demo the voxel module I'm developing for Godot Engine.
|
||||
|
||||
![Screenshot](screenshots/2020_05_05_1953_small.png)
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ func _get_used_channels_mask() -> int:
|
|||
|
||||
func _generate_block(buffer: VoxelBuffer, origin_in_voxels: Vector3, lod: int):
|
||||
# Saves from this demo used 8-bit, which is no longer the default
|
||||
buffer.set_channel_depth(_CHANNEL, VoxelBuffer.DEPTH_8_BIT)
|
||||
# buffer.set_channel_depth(_CHANNEL, VoxelBuffer.DEPTH_8_BIT)
|
||||
|
||||
# Assuming input is cubic in our use case (it doesn't have to be!)
|
||||
var block_size := int(buffer.get_size().x)
|
||||
|
|
|
@ -14,21 +14,21 @@ dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
|||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/mode=3
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
compress/normal_map=2
|
||||
flags/repeat=true
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/mipmaps=true
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
flags/srgb=1
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=true
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
||||
|
|
|
@ -13,7 +13,6 @@ const _process_stat_names = [
|
|||
"time_request_blocks_to_load",
|
||||
"time_process_load_responses",
|
||||
"time_request_blocks_to_update",
|
||||
"time_process_update_responses",
|
||||
"updated_blocks"
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue