Render a single cube

I want to render a single cube as a block preview (for a hotbar, kind of like classic.minecraft.net, but autogenerated)
i noticed this but it seems like it would have a huge impact on performance being done several times for each block. The render would only need to be done once, as it’s a static preview, it would also only need 3 sides, like this:
image

I have done similar things before, auto-generating hundreds of cubes, with dynamic texture, and have not noticed bad performance. Maybe give it a try?

alright

@itzTheMeow, if you share a playground with your progress, we could try to help as well if perf are not the expected ones ?

1 Like