Allow computeCommand render to multiple render target?

Hi, all.

I am currently doing custom render(GPU particle system) in Cesium, and I notice that in Cesium there are ComputeCommand and ComputeEngine classes, which I find very useful for particles calculation.

https://github.com/AnalyticalGraphicsInc/cesium/blob/8c05d3a70cdae8a7bdbe18ea4e4ec81f99ae3536/Source/Renderer/ComputeEngine.js#L49

However, I see that in ComputeEngine one ComputeCommand can only render to one texture. I think it would be better if rendering to multiple textures is allowed for ComputeCommand.

What do you think?

You can find a few issues discussing this if you search MRT (or multiple render target) on GitHub (https://github.com/AnalyticalGraphicsInc/cesium/issues)

Although, Cesium’s compute engine might be going away in favor of WebGL’s compute shaders in the future? See:

https://github.com/AnalyticalGraphicsInc/cesium/issues/7519

Feel free to chime in with your thoughts in any of these issues!