Canvas Render Target 2D draw without remove old texture

What I’m using it for is a bit heavy, but a lot lighter than the alternative. It can be used to ray march, without having to update the rayfield at all distances at the same time, and distant rayfields can be rendered at lower resolutions. I haven’t added the asynchronous rendering yet, cause I still have some texture seam glitches to work out, but this only adds 2-4ms to my frame. Most of that is due to the instruction count on my materials, not the render targets.

You could use a setup more like this.

It renders at 120 fps for me, no difference from the base project.

2 Likes