Skip to content

Commit

Permalink
update web export
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffany352 committed Dec 14, 2024
1 parent be072ba commit fe22099
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
5 changes: 3 additions & 2 deletions addons/starlight/psf-textures/airy_disk.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://cwgi2fpms5fll"
path.s3tc="res://.godot/imported/airy_disk.png-b87b212e1b7493b4ba80a0a063c16993.s3tc.ctex"
path.etc2="res://.godot/imported/airy_disk.png-b87b212e1b7493b4ba80a0a063c16993.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}

[deps]

source_file="res://addons/starlight/psf-textures/airy_disk.png"
dest_files=["res://.godot/imported/airy_disk.png-b87b212e1b7493b4ba80a0a063c16993.s3tc.ctex"]
dest_files=["res://.godot/imported/airy_disk.png-b87b212e1b7493b4ba80a0a063c16993.s3tc.ctex", "res://.godot/imported/airy_disk.png-b87b212e1b7493b4ba80a0a063c16993.etc2.ctex"]

[params]

Expand Down
5 changes: 3 additions & 2 deletions addons/starlight/psf-textures/hex_aperture.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://dukdlynhgjo66"
path.s3tc="res://.godot/imported/hex_aperture.png-9fe3bc4267f3d74effcd1b4a1b98cd81.s3tc.ctex"
path.etc2="res://.godot/imported/hex_aperture.png-9fe3bc4267f3d74effcd1b4a1b98cd81.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}

[deps]

source_file="res://addons/starlight/psf-textures/hex_aperture.png"
dest_files=["res://.godot/imported/hex_aperture.png-9fe3bc4267f3d74effcd1b4a1b98cd81.s3tc.ctex"]
dest_files=["res://.godot/imported/hex_aperture.png-9fe3bc4267f3d74effcd1b4a1b98cd81.s3tc.ctex", "res://.godot/imported/hex_aperture.png-9fe3bc4267f3d74effcd1b4a1b98cd81.etc2.ctex"]

[params]

Expand Down
5 changes: 3 additions & 2 deletions addons/starlight/psf-textures/hst.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://dtw2eou0w0bex"
path.s3tc="res://.godot/imported/hst.png-32647943c6e34f9d789fd33a0417cd79.s3tc.ctex"
path.etc2="res://.godot/imported/hst.png-32647943c6e34f9d789fd33a0417cd79.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}

[deps]

source_file="res://addons/starlight/psf-textures/hst.png"
dest_files=["res://.godot/imported/hst.png-32647943c6e34f9d789fd33a0417cd79.s3tc.ctex"]
dest_files=["res://.godot/imported/hst.png-32647943c6e34f9d789fd33a0417cd79.s3tc.ctex", "res://.godot/imported/hst.png-32647943c6e34f9d789fd33a0417cd79.etc2.ctex"]

[params]

Expand Down
5 changes: 3 additions & 2 deletions addons/starlight/psf-textures/jwst.png.import
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ importer="texture"
type="CompressedTexture2D"
uid="uid://b35p7vpvmdcsb"
path.s3tc="res://.godot/imported/jwst.png-fb847f9273cb08288c0341b0dc828e62.s3tc.ctex"
path.etc2="res://.godot/imported/jwst.png-fb847f9273cb08288c0341b0dc828e62.etc2.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"imported_formats": ["s3tc_bptc", "etc2_astc"],
"vram_texture": true
}

[deps]

source_file="res://addons/starlight/psf-textures/jwst.png"
dest_files=["res://.godot/imported/jwst.png-fb847f9273cb08288c0341b0dc828e62.s3tc.ctex"]
dest_files=["res://.godot/imported/jwst.png-fb847f9273cb08288c0341b0dc828e62.s3tc.ctex", "res://.godot/imported/jwst.png-fb847f9273cb08288c0341b0dc828e62.etc2.ctex"]

[params]

Expand Down
6 changes: 5 additions & 1 deletion export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
name="Web"
platform="Web"
runnable=true
advanced_options=false
dedicated_server=false
custom_features=""
export_filter="all_resources"
Expand All @@ -13,21 +14,24 @@ encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
script_export_mode=2

[preset.0.options]

custom_template/debug=""
custom_template/release=""
variant/extensions_support=false
variant/thread_support=false
vram_texture_compression/for_desktop=true
vram_texture_compression/for_mobile=false
vram_texture_compression/for_mobile=true
html/export_icon=true
html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
progressive_web_app/enabled=false
progressive_web_app/ensure_cross_origin_isolation_headers=true
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=0
Expand Down
1 change: 1 addition & 0 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ config/icon="res://icon.png"

renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"
textures/vram_compression/import_etc2_astc=true

0 comments on commit fe22099

Please sign in to comment.