I'm trying to write a compositor node with a quad pass that reads color and depth, writes color, and leaves depth unchanged. But I'm unclear on what to write next to "depth" in the "store" clause.
Code: Select all
pass render_quad
{
load
{
colour load
depth load
}
store
{
colour store
depth ?
}
material Foo
input 0 depthTx
input 1 colorTx
}
As best I can tell, my options are dont_care
, store
, resolve
, store_and_resolve
, and store_or_resolve
, but none of those seem to express what I want. I don't want to say dont_care
, because I DO care what happens to the depth, I want to leave it alone. And all the other choices suggest doing something to the depth.