Fix book lightmap and wip lightmap scene test
This commit is contained in:
Binary file not shown.
@@ -15,7 +15,7 @@
|
|||||||
"nodes" : [
|
"nodes" : [
|
||||||
{
|
{
|
||||||
"mesh" : 0,
|
"mesh" : 0,
|
||||||
"name" : "Book",
|
"name" : "sm_book",
|
||||||
"translation" : [
|
"translation" : [
|
||||||
0.08216173946857452,
|
0.08216173946857452,
|
||||||
0.03827984258532524,
|
0.03827984258532524,
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture_array"
|
||||||
|
type="TextureArray"
|
||||||
|
path="res://.import/CheckLightmap.exr-a30cb7f4507712e4e8789c79b715eefb.texarr"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://developers/aurelien/CheckLightmap.exr"
|
||||||
|
dest_files=[ "res://.import/CheckLightmap.exr-a30cb7f4507712e4e8789c79b715eefb.texarr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/no_bptc_if_rgb=false
|
||||||
|
flags/repeat=false
|
||||||
|
flags/filter=true
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/srgb=false
|
||||||
|
slices/horizontal=1
|
||||||
|
slices/vertical=1
|
||||||
Binary file not shown.
@@ -1,7 +1,9 @@
|
|||||||
[gd_scene load_steps=3 format=2]
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://assets/props/book/Book.mesh" type="ArrayMesh" id=1]
|
[ext_resource path="res://assets/props/book/sm_book.mesh" type="ArrayMesh" id=1]
|
||||||
[ext_resource path="res://scenes/levels/test_bake.lmbake" type="BakedLightmapData" id=2]
|
[ext_resource path="res://developers/aurelien/CheckLightmap.lmbake" type="BakedLightmapData" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="PlaneMesh" id=1]
|
||||||
|
|
||||||
[node name="Spatial" type="Spatial"]
|
[node name="Spatial" type="Spatial"]
|
||||||
|
|
||||||
@@ -11,14 +13,20 @@ capture_quality = 2
|
|||||||
light_data = ExtResource( 2 )
|
light_data = ExtResource( 2 )
|
||||||
|
|
||||||
[node name="SpotLight" type="SpotLight" parent="."]
|
[node name="SpotLight" type="SpotLight" parent="."]
|
||||||
transform = Transform( 1, 0, 0, 0, 0.145807, 0.989313, 0, -0.989313, 0.145807, 1.52905, 1.08158, 0.159406 )
|
transform = Transform( 1, 0, 0, 0, 0.145807, 0.989313, 0, -0.989313, 0.145807, 0.563775, 2.12757, 0.864609 )
|
||||||
visible = false
|
|
||||||
light_energy = 10.0
|
light_energy = 10.0
|
||||||
light_indirect_energy = 4.0
|
light_indirect_energy = 4.0
|
||||||
light_bake_mode = 2
|
light_bake_mode = 2
|
||||||
shadow_enabled = true
|
shadow_enabled = true
|
||||||
|
spot_angle = 32.1
|
||||||
|
|
||||||
[node name="Book" type="MeshInstance" parent="."]
|
[node name="Book" type="MeshInstance" parent="."]
|
||||||
transform = Transform( 5.29875, 0, 0, 0, 5.29875, 0, 0, 0, 5.29875, 0, 0, 1.35936 )
|
transform = Transform( 5.29875, 0, 0, 0, 5.29875, 0, 0, 0, 5.29875, 0, 0.224351, 1.35936 )
|
||||||
|
use_in_baked_light = true
|
||||||
mesh = ExtResource( 1 )
|
mesh = ExtResource( 1 )
|
||||||
material/0 = null
|
material/0 = null
|
||||||
|
|
||||||
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
||||||
|
transform = Transform( 3.21876, 0, 0, 0, 3.21876, 0, 0, 0, 4.63275, 0, 0, 0 )
|
||||||
|
mesh = SubResource( 1 )
|
||||||
|
material/0 = null
|
||||||
|
|||||||
Reference in New Issue
Block a user