diff --git a/assets/editor/editor.passlist b/assets/editor/editor.passlist new file mode 100644 index 0000000..7860e47 --- /dev/null +++ b/assets/editor/editor.passlist @@ -0,0 +1,42 @@ +passlist "Forward Passlist" +{ + attachment "DepthBuffer" + { + format "PreferredDepthStencil" + } + + pass "DepthPrepass" + { + impl "Depth" + { + MatPass "DepthPass" + } + + depthstenciloutput "DepthBuffer" + } + + attachment "ForwardOutput" + { + format "RGBA16F" + } + + pass "ForwardPass" + { + impl "Forward" + output "Output" "ForwardOutput" + depthstencilinput "DepthBuffer" + depthstenciloutput "DepthBuffer" + flag "LightShadowing" + } + + attachmentproxy "ImguiOutput" "ForwardOutput" + + pass "Imgui" + { + impl "Imgui" + input "Input" "ForwardOutput" + output "Output" "ImguiOutput" + } + + output "ImguiOutput" +} diff --git a/assets/editor/engine.passlist b/assets/editor/engine.passlist new file mode 100644 index 0000000..ce18ace --- /dev/null +++ b/assets/editor/engine.passlist @@ -0,0 +1,61 @@ +passlist "Forward Passlist" +{ + attachment "DepthBuffer" + { + format "PreferredDepthStencil" + } + + pass "DepthPrepass" + { + impl "Depth" + { + MatPass "DepthPass" + } + + depthstenciloutput "DepthBuffer" + } + + attachment "ForwardOutput" + { + format "RGBA16F" + } + + pass "ForwardPass" + { + impl "Forward" + output "Output" "ForwardOutput" + depthstencilinput "DepthBuffer" + depthstenciloutput "DepthBuffer" + flag "LightShadowing" + } + + attachment "Gamma corrected" + { + format "RGBA8" + } + + pass "Gamma correction" + { + impl "PostProcess" + { + Shader "PostProcess.GammaCorrection" + } + + input "Input" "ForwardOutput" + output "Output" "Gamma corrected" + } + + attachmentproxy "Debug draw output" "Gamma corrected" + attachmentproxy "DebugDraw depth output" "DepthBuffer" + + pass "Debug Draw" + { + impl "DebugDraw" + input "Input" "Gamma corrected" + output "Output" "Debug draw output" + depthstencilinput "DepthBuffer" + depthstenciloutput "DebugDraw depth output" + } + + output "Gamma corrected" +}