add Ecs demo usage

This commit is contained in:
SweetId
2023-11-17 12:53:30 +05:30
parent e2aa7cb65c
commit e933e6af6e
4 changed files with 191 additions and 0 deletions

View File

@@ -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"
{
format "RGBA8"
}
pass "Gamma correction"
{
impl "PostProcess"
{
Shader "PostProcess.GammaCorrection"
}
input "Input" "ForwardOutput"
output "Output" "Gamma"
}
attachment "ImguiOutput"
{
format "RGBA8"
}
pass "Imgui"
{
impl "Imgui"
input "Input" "Gamma"
output "Output" "ImguiOutput"
}
output "ImguiOutput"
}