Improved the culling result of HizCulling;

Added custom inspector for VolumeObject;
Change the name of AoVolume to VolumeObject;
This commit is contained in:
2025-02-24 00:22:04 +09:00
parent 833502f87c
commit 2f79df128e
23 changed files with 336 additions and 86 deletions

View File

@@ -0,0 +1,10 @@
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="True">
<engine:VisualElement data-source-type="Misaki.AoVolume.VolumeObject, Misaki.AoVolume" style="flex-grow: 1;">
<editor:PropertyField binding-path="dynamicVolume" label="Dynamic Volume" />
<editor:PropertyField binding-path="data.size" label="Size" />
<editor:PropertyField binding-path="data.intensity" label="Intensity" />
<editor:PropertyField binding-path="data.falloff" label="IntensityFalloff" />
<editor:PropertyField binding-path="data.normalFalloff" label="NormalFalloff" />
<engine:Button text="Force Update" name="force-update-button" />
</engine:VisualElement>
</engine:UXML>