Browse Source

Apple Tree LOD fix @shawstar

Signed-off-by: shawstar <[email protected]>
shawstar 2 years ago
parent
commit
feaa2a30fd

+ 2 - 2
Project/Assets/apple_tree/AppleTree.fbx

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
 version https://git-lfs.github.com/spec/v1
-oid sha256:f53f203c1ba761c5bc425e631f505e138d4d4488cbdea167d350ead9f084124c
-size 8170812
+oid sha256:151e4095e585c772e45f395a0e16c005f57050125c2705723ca3347fd86bfc91
+size 8166636

+ 2 - 2
Project/Assets/apple_tree/textures/AppleTreeLeaf_BaseColor_lod0.png

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
 version https://git-lfs.github.com/spec/v1
-oid sha256:5fabe3274a4e0a3d89b4dc5cdcad62df4d3b064287f488011373beeb751f06be
-size 2236999
+oid sha256:a082c68751a7c68fad3a415e57a36aea780d4fd4f889c8cbdaa1967989ec376b
+size 1845526

+ 2 - 2
Project/Assets/apple_tree/textures/AppleTreeLeaf_BaseColor_lod1.png

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
 version https://git-lfs.github.com/spec/v1
-oid sha256:e5258254c49c7afb929cd8be93d192cde97cef98d602b3fbeadafaf24fc4d333
-size 796089
+oid sha256:9f1d67f41c725ff14cb8c126f85ad7cd44adfe5fdf814f1340ca40a57476b0f5
+size 658209

+ 2 - 2
Project/Assets/apple_tree/textures/AppleTreeLeaf_BaseColor_lod2.png

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
 version https://git-lfs.github.com/spec/v1
-oid sha256:8d1aca9f6bc2020a97c510d913b95d1562db6bd77c45a89fab4cbc5b228ebd3b
-size 260473
+oid sha256:8f4f904f60f5a484ab701731d174525c2cfb8ebedd112c2826bbd268ca80f4a7
+size 208168

+ 2 - 2
Project/Assets/apple_tree/textures/AppleTreeLeaf_BaseColor_lod3.png

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
 version https://git-lfs.github.com/spec/v1
-oid sha256:aebe20c07c73edea3c4657cc2b628fba58e47804eddd319be9566f59eeb104c3
-size 78368
+oid sha256:6f7d5d9186c25fa711f4fd7e284dcb9df66cefb9acba04b4b165aabcd4110a16
+size 62049

+ 53 - 276
Project/Prefabs/AppleTree.prefab

@@ -163,25 +163,41 @@
                     "$type": "EditorEntityIconComponent",
                     "$type": "EditorEntityIconComponent",
                     "Id": 2232052990511423151
                     "Id": 2232052990511423151
                 },
                 },
-                "Component_[3894251219152098730]": {
+                "Component_[5042179235701765609]": {
+                    "$type": "EditorEntitySortComponent",
+                    "Id": 5042179235701765609
+                },
+                "Component_[546308243281095224]": {
+                    "$type": "EditorDisabledCompositionComponent",
+                    "Id": 546308243281095224
+                },
+                "Component_[6111505743688272735]": {
+                    "$type": "EditorInspectorComponent",
+                    "Id": 6111505743688272735,
+                    "ComponentOrderEntryArray": [
+                        {
+                            "ComponentId": 12444622250145591703
+                        },
+                        {
+                            "ComponentId": 10483984395814518873,
+                            "SortIndex": 1
+                        },
+                        {
+                            "ComponentId": 17286267979684003150,
+                            "SortIndex": 2
+                        }
+                    ]
+                },
+                "Component_[8148146872807561086]": {
+                    "$type": "EditorPendingCompositionComponent",
+                    "Id": 8148146872807561086
+                },
+                "Component_[8395915277587705418]": {
                     "$type": "EditorMaterialComponent",
                     "$type": "EditorMaterialComponent",
-                    "Id": 3894251219152098730,
+                    "Id": 8395915277587705418,
                     "Controller": {
                     "Controller": {
                         "Configuration": {
                         "Configuration": {
                             "materials": [
                             "materials": [
-                                {
-                                    "Key": {
-                                        "materialSlotStableId": 199226484
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{55339E98-54B6-5D38-B182-262882507562}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_branchmat.azmaterial"
-                                        }
-                                    }
-                                },
                                 {
                                 {
                                     "Key": {
                                     "Key": {
                                         "materialSlotStableId": 924759392
                                         "materialSlotStableId": 924759392
@@ -190,25 +206,13 @@
                                         "MaterialAsset": {
                                         "MaterialAsset": {
                                             "assetId": {
                                             "assetId": {
                                                 "guid": "{A9A7956A-79C1-53A1-95C1-342AC7C3E8FB}"
                                                 "guid": "{A9A7956A-79C1-53A1-95C1-342AC7C3E8FB}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_leaf_sss_mat.azmaterial"
-                                        },
-                                        "PropertyOverrides": {
-                                            "baseColor.color": {
-                                                "$type": "Color",
-                                                "Value": [
-                                                    0.48235294222831726,
-                                                    0.48235294222831726,
-                                                    0.48235294222831726,
-                                                    1.0
-                                                ]
                                             }
                                             }
                                         }
                                         }
                                     }
                                     }
                                 },
                                 },
                                 {
                                 {
                                     "Key": {
                                     "Key": {
-                                        "materialSlotStableId": 1288673165
+                                        "materialSlotStableId": 1276229897
                                     },
                                     },
                                     "Value": {
                                     "Value": {
                                         "MaterialAsset": {
                                         "MaterialAsset": {
@@ -221,8 +225,7 @@
                                 },
                                 },
                                 {
                                 {
                                     "Key": {
                                     "Key": {
-                                        "lodIndex": 0,
-                                        "materialSlotStableId": 199226484
+                                        "materialSlotStableId": 3060583891
                                     },
                                     },
                                     "Value": {
                                     "Value": {
                                         "MaterialAsset": {
                                         "MaterialAsset": {
@@ -232,236 +235,10 @@
                                             "assetHint": "assets/apple_tree/appletree_branchmat.azmaterial"
                                             "assetHint": "assets/apple_tree/appletree_branchmat.azmaterial"
                                         }
                                         }
                                     }
                                     }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 0,
-                                        "materialSlotStableId": 924759392
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{A9A7956A-79C1-53A1-95C1-342AC7C3E8FB}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_leaf_sss_mat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 0,
-                                        "materialSlotStableId": 1288673165
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{B03382D7-0965-53E2-A0CE-C526142FAFB8}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_treemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 1,
-                                        "materialSlotStableId": 199226484
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{55339E98-54B6-5D38-B182-262882507562}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_branchmat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 1,
-                                        "materialSlotStableId": 924759392
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{A9A7956A-79C1-53A1-95C1-342AC7C3E8FB}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_leaf_sss_mat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 1,
-                                        "materialSlotStableId": 1288673165
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{B03382D7-0965-53E2-A0CE-C526142FAFB8}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_treemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 2,
-                                        "materialSlotStableId": 199226484
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{5751E3F7-A665-52B0-A371-D3A7D37C6CC3}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_branch_basemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 2,
-                                        "materialSlotStableId": 924759392
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{EB582A15-08B3-59E8-870C-59249E92D948}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_leaf_basemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 2,
-                                        "materialSlotStableId": 1288673165
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{A2C3ED2A-B141-5FAB-B07D-147EFFE5F034}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_tree_basemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 3,
-                                        "materialSlotStableId": 199226484
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{5751E3F7-A665-52B0-A371-D3A7D37C6CC3}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_branch_basemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 3,
-                                        "materialSlotStableId": 924759392
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{EB582A15-08B3-59E8-870C-59249E92D948}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_leaf_basemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 3,
-                                        "materialSlotStableId": 1288673165
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{A2C3ED2A-B141-5FAB-B07D-147EFFE5F034}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_tree_basemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 4,
-                                        "materialSlotStableId": 199226484
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{5751E3F7-A665-52B0-A371-D3A7D37C6CC3}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_branch_basemat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 4,
-                                        "materialSlotStableId": 924759392
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{A9A7956A-79C1-53A1-95C1-342AC7C3E8FB}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_leaf_sss_mat.azmaterial"
-                                        }
-                                    }
-                                },
-                                {
-                                    "Key": {
-                                        "lodIndex": 4,
-                                        "materialSlotStableId": 1288673165
-                                    },
-                                    "Value": {
-                                        "MaterialAsset": {
-                                            "assetId": {
-                                                "guid": "{A2C3ED2A-B141-5FAB-B07D-147EFFE5F034}"
-                                            },
-                                            "assetHint": "assets/apple_tree/appletree_tree_basemat.azmaterial"
-                                        }
-                                    }
                                 }
                                 }
                             ]
                             ]
                         }
                         }
-                    },
-                    "materialSlotsByLodEnabled": true
-                },
-                "Component_[5042179235701765609]": {
-                    "$type": "EditorEntitySortComponent",
-                    "Id": 5042179235701765609
-                },
-                "Component_[546308243281095224]": {
-                    "$type": "EditorDisabledCompositionComponent",
-                    "Id": 546308243281095224
-                },
-                "Component_[6111505743688272735]": {
-                    "$type": "EditorInspectorComponent",
-                    "Id": 6111505743688272735,
-                    "ComponentOrderEntryArray": [
-                        {
-                            "ComponentId": 12444622250145591703
-                        },
-                        {
-                            "ComponentId": 10483984395814518873,
-                            "SortIndex": 1
-                        },
-                        {
-                            "ComponentId": 17286267979684003150,
-                            "SortIndex": 2
-                        }
-                    ]
-                },
-                "Component_[8148146872807561086]": {
-                    "$type": "EditorPendingCompositionComponent",
-                    "Id": 8148146872807561086
+                    }
                 }
                 }
             }
             }
         }
         }
@@ -538,7 +315,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/1",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/1",
-                    "value": -12.610696792602539
+                    "value": -12.61069679260254
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -563,7 +340,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/1",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/1",
-                    "value": 0.039330966770648956
+                    "value": 0.03933096677064896
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -608,7 +385,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/0",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/0",
-                    "value": -1.8461153507232666
+                    "value": -1.8461153507232664
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -758,7 +535,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/1",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/1",
-                    "value": -12.610696792602539
+                    "value": -12.61069679260254
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -828,7 +605,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
-                    "value": 1.1257466077804565
+                    "value": 1.1257466077804563
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -868,7 +645,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
-                    "value": 1.1460012197494507
+                    "value": 1.146001219749451
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1058,7 +835,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/0",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/0",
-                    "value": 0.23504459857940674
+                    "value": 0.2350445985794067
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1098,7 +875,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/0",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/0",
-                    "value": 0.22987917065620422
+                    "value": 0.22987917065620425
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1108,7 +885,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
-                    "value": 1.1876572370529175
+                    "value": 1.1876572370529177
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1143,7 +920,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
-                    "value": 1.9344301223754883
+                    "value": 1.9344301223754885
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1183,7 +960,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
-                    "value": 1.9546842575073242
+                    "value": 1.954684257507324
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1223,7 +1000,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
-                    "value": 1.9442722797393799
+                    "value": 1.94427227973938
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1308,7 +1085,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/0",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/0",
-                    "value": -1.8461153507232666
+                    "value": -1.8461153507232664
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1348,7 +1125,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/0",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/0",
-                    "value": -1.8461153507232666
+                    "value": -1.8461153507232664
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1783,7 +1560,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/2",
-                    "value": 1.9427534341812134
+                    "value": 1.9427534341812136
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1833,7 +1610,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/1",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Rotate/1",
-                    "value": 9.507402420043945
+                    "value": 9.507402420043944
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -1893,12 +1670,12 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/0",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/0",
-                    "value": 0.36272817850112915
+                    "value": 0.3627281785011291
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/1",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/1",
-                    "value": 0.11729003489017487
+                    "value": 0.11729003489017488
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
@@ -2123,7 +1900,7 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/1",
                     "path": "/ContainerEntity/Components/Component_[17300195898860990188]/Transform Data/Translate/1",
-                    "value": -0.10305754840373993
+                    "value": -0.10305754840373992
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",