Files
Threadwell/archive/threads/bonzajplc/2018-02-18-unity-tip-update/index.md
T
2026-08-27 19:26:00 -04:00

1.5 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
#unity tip update. archive twitter https://x.com/bonzajplc/status/965280107836387329 bonzaj/plastic bonzajplc 965280107836387329 2018-02-18 2026-08-27 false
archive
twitter
bonzajplc
#unity tip update.

Source

Thread

1/ @bonzajplc ^965280107836387329

#unity tip update. DrawMeshInstancedIndirect with no CPU culling and cloned meshes is a way to go. Thanks goes to @SebAaltonen and @JulienFryer for giving me hints about instance batch size. And now enjoy this #minecraft style #voxelart cereal running at near 100 fps :). #gamedev

2/ @SebAaltonen ^965308410739806208

@bonzajplc @JulienFryer

If you want to render lots of spheres very fast. I did all my particle physics debug views like this: https://gist.github.com/sebbbi/a599d7896aa3ad36642145d54459f32b

3/ @SebAaltonen ^965308939293339648

@bonzajplc @JulienFryer

You can expand this technique to any SDF volume easily... Just sphere trace inside the cube instead of render a mesh.

Branches: archive/threads/bonzajplc/2018-02-18-unity-tip-update/2018-02-18-JulienFryer-yes-plus-its-ray-traced-so-something-you-cannot