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

48 lines
1.5 KiB
Markdown

---
title: "#unity tip update."
type: archive
source: twitter
source_url: "https://x.com/bonzajplc/status/965280107836387329"
author: "bonzaj/plastic"
handle: bonzajplc
post_id: "965280107836387329"
date: 2018-02-18
archived: 2026-08-27
draft: false
tags:
- archive
- twitter
- bonzajplc
description: "#unity tip update."
in_reply_to: ""
---
## 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
<video controls src="https://video.twimg.com/tweet_video/DWVckgqX4AEB085.mp4"></video>
**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]]