Generate and Dump a Procedural Texture without Running Render Loop?

So what would be the best way to generate a GPU texture one time and then dropping that to the CPU?

I was kinda thinking spin up a scene on a canvas of the set size that I need, run a fullscreen post proccess, turn off the render, dump the canvas contents.

1 Like

Can you use scene.render? Scene | Babylon.js Documentation (babylonjs.com)

1 Like

@Pryme8 this is actually what we do internally to generate env textures :slight_smile:

1 Like

I found out there is even a super useful method for screenshotting stuff! :o

Test screenshot as texture | Babylon.js Playground (babylonjs.com)

1 Like