Testing good vs bad texture in Muzzle Flash

pull/50/head
unfa 2021-06-18 13:05:23 +02:00
parent 6a280cc0ba
commit 5b264706ce
7 changed files with 35 additions and 37 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

View File

Before

Width:  |  Height:  |  Size: 519 KiB

After

Width:  |  Height:  |  Size: 519 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture2D"
path="res://.godot/imported/Flash good.png-6a542a4f741727693e6ed50b5e9c7cf1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Weapons/VFX/Flash good.png"
dest_files=[ "res://.godot/imported/Flash good.png-6a542a4f741727693e6ed50b5e9c7cf1.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,36 +0,0 @@
[remap]
importer="texture"
type="StreamTexture2D"
path.s3tc="res://.godot/imported/Flash.png-bc217ae12b8c092e2603510deb56714d.s3tc.stex"
path.etc2="res://.godot/imported/Flash.png-bc217ae12b8c092e2603510deb56714d.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://Assets/Weapons/VFX/Flash.png"
dest_files=[ "res://.godot/imported/Flash.png-bc217ae12b8c092e2603510deb56714d.s3tc.stex", "res://.godot/imported/Flash.png-bc217ae12b8c092e2603510deb56714d.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=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=128
detect_3d/compress_to=0
svg/scale=1.0

View File

@ -2,7 +2,7 @@
[ext_resource path="res://Assets/Weapons/Handgun/Handgun.gltf" type="PackedScene" id=1]
[ext_resource path="res://Assets/Weapons/Weapon.gd" type="Script" id=2]
[ext_resource path="res://Assets/Weapons/VFX/Flash.png" type="Texture2D" id=3]
[ext_resource path="res://Assets/Weapons/VFX/Flash good.png" type="Texture2D" id=3]
[sub_resource type="Gradient" id=1]
offsets = PackedFloat32Array( 0.00362319, 0.148551, 0.34058, 0.630435, 1 )