Added normal and specular maps; added point lights to demo scene...
Release / Export Game (push) Successful in 3m53s

...to demonstrate dynamic lighting.
This commit is contained in:
qwsdcvghyu89
2026-06-14 20:08:32 +10:00
parent 1813800db4
commit 3254d821c1
14 changed files with 1498 additions and 7 deletions
+8 -2
View File
@@ -1,6 +1,7 @@
[gd_resource type="TileSet" format=3 uid="uid://cb1bigfqp1l7t"]
[ext_resource type="Texture2D" uid="uid://b78uwnnyovqci" path="res://materials/tilesets/pool.tres" id="1_l670f"]
[ext_resource type="Texture2D" uid="uid://n6b4udvjt2pt" path="res://sprites/atlas/diffuse/pool.diffuse.png" id="1_by4n8"]
[ext_resource type="Texture2D" uid="uid://cs2jr54egxwey" path="res://sprites/atlas/normal/pool.normal.png" id="2_1bmlt"]
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_l670f"]
polygon = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
@@ -83,8 +84,13 @@ polygon = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
[sub_resource type="OccluderPolygon2D" id="OccluderPolygon2D_yfu7p"]
polygon = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
[sub_resource type="CanvasTexture" id="CanvasTexture_x4gly"]
diffuse_texture = ExtResource("1_by4n8")
normal_texture = ExtResource("2_1bmlt")
specular_shininess = 0.35
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_blkrv"]
texture = ExtResource("1_l670f")
texture = SubResource("CanvasTexture_x4gly")
texture_region_size = Vector2i(32, 32)
0:0/0 = 0
0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-16, 16, 16, 16, 16, -16, -16, -16)