1.5 KiB
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 | https://x.com/bonzajplc/status/965280107836387329 | bonzaj/plastic | bonzajplc | 965280107836387329 | 2018-02-18 | 2026-08-27 | false |
|
#unity tip update. |
Source
- URL: https://x.com/bonzajplc/status/965280107836387329
- Author: bonzaj/plastic (@bonzajplc)
- Posted: 2018-02-18 17:41:26
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.