62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
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"
|
|
}
|