Comment

Comment by sqrt_1

I assume each sprite is moved on the CPU and the position data is passed to the GPU for rendering.

Curious how you are passing the data to the GPU - are you having a single dynamic vertex buffer that is uploaded each frame?

Is the vertex data a single position and the GPU is generating the quad from this?

parent sqrt_1 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton