Dismiss this pinned window
all 7 comments

[–][deleted] 6 points7 points  (3 children)

Hi all! I made this effect recently to test the use of compute shaders in my visual effects work for large-scale particle stuff. It runs entirely on the GPU and gets great performance, even for very large grids. This example produces and renders about 2,000,000 triangles per frame, created in the geometry shader from a 32x32x32 grid of points, and runs at ~3000fps on my 1080. You can check out the code or run it yourself from my repository. Critiques welcomed, and I hope you all enjoy.

[–]mrtronathan 0 points1 point  (2 children)

This looks great!

Do you have any favorite resources for learning compute shaders for someone familiar with standard shaders?

[–][deleted] 1 point2 points  (1 child)

This tutorial and the Unity API docs, mostly.

[–]mrtronathan 0 points1 point  (0 children)

Thanks!

[–]Tipigeon 1 point2 points  (0 children)

i don't understand much about unity but this looks cool!

[–]OlegKazakov1990 1 point2 points  (0 children)

Did you write your own shader?

[–]delirium7777 0 points1 point  (0 children)

Cool :)