From f648321cb5a80cd504962cfd96722c86eaf340d7 Mon Sep 17 00:00:00 2001 From: Artur Nasiadko Date: Fri, 14 Apr 2023 04:13:39 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ab4993c..29ae31d 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ https://user-images.githubusercontent.com/14143603/231909731-d0047d10-7ccd-440d- ## How it works -- generate voxels compute is run, voxel data (0/1) is generated using 3d noise -- feedback compute is run, this iterates all voxels and calculates the count of vertices and indices which will be required for the mesh -- voxelizer compute is run, this iterates all voxels and puts vertex and index data into the buffers +- generate voxels compute -> voxel data (0/1) is generated using 3d noise +- feedback compute -> iterates all voxels and calculates the count of vertices and indices which will be required for the mesh +- voxelizer compute -> iterates all voxels and writes vertex and index data into the buffers - the mesh is drawn with Graphics.DrawProceduralIndirect using data from index and vertex buffers The mesh is generated on the GPU and is never read back to the CPU to create a Mesh object, that would be very slow by comparison (5 FPS).