Closed fand closed 7 years ago
In this PR, we can do multipass rendering by adding PASSES property to settings. For example, the setting below renders 2 passes per frame.
PASSES
sampler2D renderBuffer
TARGET
{ "PASSES": [{ "TARGET": "renderBuffer" }, {}] }
This setting format is based on ISF, but is different in some points.
WIDTH
HEIGHT
PERSISTENT
In this PR, we can do multipass rendering by adding
PASSES
property to settings. For example, the setting below renders 2 passes per frame.sampler2D renderBuffer
. It can be used in latter passes.TARGET
is not specified.This setting format is based on ISF, but is different in some points.
WIDTH
&HEIGHT
is not supported. It's not so important and too difficult to implement.PERSISTENT
is not supported. Buffers are always persistent by default.