846e2736a5
* Change AtomTressFX passes to write to exsiting DepthLinear buffer instead of creating a new one as output. Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com> * Added new api in RPI to apply render pipeline changes from FP Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com> * Update AtomTressFX gem to create hair parent pass at runtime Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com> * Change Scene::ApplyRenderPipelineChange() to TryApplyRenderPIpelineChanges(). Have TryApplyRenderPIpelineChanges() called automatically when a render pipeline is added to a Scene. Re-apply the render pipeline change when RenderPipeline got recreated (Pass hot-reloading support) Add AddPassBefore() and AddPassAfter() function to RenderPIpeline class. Signed-off-by: Qing Tao <55564570+VickyAtAZ@users.noreply.github.com>
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
{
|
|
"Type": "JsonSerialization",
|
|
"Version": 1,
|
|
"ClassName": "PassAsset",
|
|
"ClassData": {
|
|
"PassTemplate": {
|
|
"Name": "HairDepthToLinearTemplate",
|
|
"PassClass": "FullScreenTriangle",
|
|
"Slots": [
|
|
{
|
|
"Name": "Input",
|
|
"SlotType": "Input",
|
|
"ScopeAttachmentUsage": "Shader",
|
|
"ImageViewDesc": {
|
|
"AspectFlags": [
|
|
"Depth"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"Name": "Output",
|
|
"SlotType": "Output",
|
|
"ScopeAttachmentUsage": "RenderTarget",
|
|
"LoadStoreAction": {
|
|
"LoadAction": "DontCare"
|
|
}
|
|
}
|
|
],
|
|
"PassData": {
|
|
"$type": "FullscreenTrianglePassData",
|
|
"ShaderAsset": {
|
|
"FilePath": "Shaders/PostProcessing/DepthToLinearDepth.shader"
|
|
},
|
|
"PipelineViewTag": "MainCamera"
|
|
}
|
|
}
|
|
}
|
|
}
|