forked from team-sg/hero-mark-2
revisit abyss lighting. make bullet fish, stars, and shards draw at full brightness as they glow in the depths.
This commit is contained in:
parent
70ef1a8450
commit
4848dca875
6 changed files with 38 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=49 format=2]
|
||||
[gd_scene load_steps=50 format=2]
|
||||
|
||||
[ext_resource path="res://maps/map.gd" type="Script" id=1]
|
||||
[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=2]
|
||||
|
@ -33,6 +33,7 @@
|
|||
[ext_resource path="res://objects/lore/abyss/mine.tscn" type="PackedScene" id=31]
|
||||
[ext_resource path="res://objects/lore/abyss/squig.tscn" type="PackedScene" id=32]
|
||||
[ext_resource path="res://objects/lore/abyss/turchin.tscn" type="PackedScene" id=33]
|
||||
[ext_resource path="res://graphics/particles/pixel.png" type="Texture" id=34]
|
||||
|
||||
[sub_resource type="CanvasItemMaterial" id=12]
|
||||
blend_mode = 3
|
||||
|
@ -127,6 +128,7 @@ layer = 50
|
|||
follow_viewport_enable = true
|
||||
|
||||
[node name="Depth1" type="ColorRect" parent="EffectLayer"]
|
||||
visible = false
|
||||
material = SubResource( 12 )
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
@ -138,15 +140,13 @@ __meta__ = {
|
|||
}
|
||||
|
||||
[node name="Depth2" type="ColorRect" parent="EffectLayer"]
|
||||
visible = false
|
||||
material = SubResource( 12 )
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_top = 384.0
|
||||
margin_bottom = 384.0
|
||||
color = Color( 0.768627, 0.556863, 0.556863, 1 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
}
|
||||
|
||||
[node name="WaterRipple" type="ColorRect" parent="EffectLayer"]
|
||||
material = SubResource( 1 )
|
||||
|
@ -161,6 +161,26 @@ __meta__ = {
|
|||
[node name="HUD" parent="." instance=ExtResource( 2 )]
|
||||
song_name = "♫Moon Trail 2023"
|
||||
|
||||
[node name="Depth1" type="Light2D" parent="."]
|
||||
position = Vector2( 0, 192 )
|
||||
scale = Vector2( 256, 192 )
|
||||
texture = ExtResource( 34 )
|
||||
offset = Vector2( 0.5, 0.5 )
|
||||
color = Color( 0.148438, 0.0363846, 0.126981, 1 )
|
||||
energy = 0.25
|
||||
mode = 2
|
||||
range_layer_min = -50
|
||||
|
||||
[node name="Depth2" type="Light2D" parent="."]
|
||||
position = Vector2( 0, 384 )
|
||||
scale = Vector2( 256, 192 )
|
||||
texture = ExtResource( 34 )
|
||||
offset = Vector2( 0.5, 0.5 )
|
||||
color = Color( 0.333333, 0.0901961, 0.0901961, 1 )
|
||||
energy = 0.5
|
||||
mode = 2
|
||||
range_layer_min = -50
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 8 )]
|
||||
position = Vector2( 24, 560 )
|
||||
underwater = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue