Added HairBlending shader pass;
Added HairBlendingSetting in UTSRenderPassSetting; Added MaterialType to UTS; Added MaterialFeature scope to UTS material editor; Merged HairBlendingPass and HairShadowPass into UTSPass; Fixed the bug that character box light can not update rotation correctly according to bound light source;
This commit is contained in:
@@ -1,10 +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="Unity.Rendering.HighDefinition.Toon.BoxLightAdjustment, Unity.Toonshader" style="flex-grow: 1;">
|
||||
<engine:VisualElement data-source-type="Misaki.HdrpToon.BoxLightAdjustment, Misaki.HdrpToon" style="flex-grow: 1;">
|
||||
<engine:Label text="Rendering" style="-unity-font-style: bold; margin-top: 4px; margin-bottom: 2px;" />
|
||||
<engine:VisualElement name="renderingGroup" style="padding-left: 8px;">
|
||||
<editor:RenderingLayerMaskField label="Layer Mask" value="DynamicTransform" type="UnityEngine.Rendering.HighDefinition.RenderingLayerMask, Unity.RenderPipelines.HighDefinition.Runtime">
|
||||
<Bindings>
|
||||
<engine:DataBinding property="value" data-source-path="LayerMask" data-source-type="Unity.Rendering.HighDefinition.Toon.BoxLightAdjustment, Unity.Toonshader" binding-mode="TwoWay" />
|
||||
<engine:DataBinding property="value" data-source-path="LayerMask" binding-mode="TwoWay" />
|
||||
</Bindings>
|
||||
</editor:RenderingLayerMaskField>
|
||||
<editor:ObjectField label="Source Light" type="UnityEngine.Light, UnityEngine.CoreModule">
|
||||
@@ -30,21 +30,11 @@
|
||||
<engine:DataBinding property="index" data-source-path="followGameObjectPosition" binding-mode="TwoWay" />
|
||||
</Bindings>
|
||||
</engine:DropdownField>
|
||||
<engine:DropdownField label="Follow Rotation" choices="Disable,Enable" index="0">
|
||||
<engine:FloatField label="Distance Offset" value="20">
|
||||
<Bindings>
|
||||
<engine:DataBinding property="index" data-source-path="followGameObjectRotation" binding-mode="TwoWay" />
|
||||
<engine:DataBinding property="value" data-source-path="distanceOffset" binding-mode="TwoWay" />
|
||||
</Bindings>
|
||||
</engine:DropdownField>
|
||||
<engine:Vector3Field label="Position Offset">
|
||||
<Bindings>
|
||||
<engine:DataBinding property="value" data-source-path="positionOffset" binding-mode="TwoWay" />
|
||||
</Bindings>
|
||||
</engine:Vector3Field>
|
||||
<engine:Vector3Field label="Rotation Offset">
|
||||
<Bindings>
|
||||
<engine:DataBinding property="value" data-source-path="rotationOffset" binding-mode="TwoWay" source-to-ui-converters="QuaternionToVector3Converter" ui-to-source-converters="QuaternionToVector3Converter" />
|
||||
</Bindings>
|
||||
</engine:Vector3Field>
|
||||
</engine:FloatField>
|
||||
</engine:VisualElement>
|
||||
</engine:VisualElement>
|
||||
</engine:UXML>
|
||||
|
||||
Reference in New Issue
Block a user