start re-importing starlight shader

This commit is contained in:
betalars 2023-07-01 19:51:17 +02:00
parent 5f16a4e555
commit cbef24495c
7 changed files with 86 additions and 1 deletions

View File

@ -28,5 +28,12 @@ animation/fps=30
animation/trimming=false
animation/remove_immutable_tracks=true
import_script/path=""
_subresources={}
_subresources={
"materials": {
"starlight": {
"use_external/enabled": true,
"use_external/path": "res://base-environments/youth_room/import/materials/starlight_shader.material"
}
}
}
gltf/embedded_image_handling=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bdyg065h8vcdi"
path="res://.godot/imported/starlight-textures.png-4ddade130465fa71fbca6304c0a7a75a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://base-environments/youth_room/shaders/starlight-textures.png"
dest_files=["res://.godot/imported/starlight-textures.png-4ddade130465fa71fbca6304c0a7a75a.ctex"]
[params]
compress/mode=3
compress/high_quality=true
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
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/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0

View File

@ -0,0 +1,9 @@
shader_type spatial;
render_mode unshaded;
uniform sampler2D starlight_noise;
uniform sampler2D starlight_textures;
void fragment() {
ALBEDO = vec3(.0, .0, texture(starlight_textures, UV + texture(starlight_noise, UV).xz).z);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 871 KiB

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ds1n0xhxqlp4b"
path.bptc="res://.godot/imported/universe_noise.png-d3c27872055ba4487d16cb642b35acb7.bptc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://base-environments/youth_room/shaders/universe_noise.png"
dest_files=["res://.godot/imported/universe_noise.png-d3c27872055ba4487d16cb642b35acb7.bptc.ctex"]
[params]
compress/mode=2
compress/high_quality=true
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
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/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=0