Skip to content

O1Wilson/ComputeShaderGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project uses a compute shader in Unity to render a 3D graph made up of geometric shapes. Each cube in the graph is positioned on the GPU based on mathematical functions like waves, ripples, and spheres. I wrote an HLSL shader to color the cubes based on their position, which adds depth and variation across the surface.

For the fractal system, I used Unity’s Job System to handle updates across a large recursive structure. This let me animate complex transformations like rotation and sway without tanking performance. I also added color variation using another HLSL shader, so the fractal would look more organic and less uniform.


Project Pictures

detailed-sphere

detailed-torus

continuous-morphing.mp4

variable-max-sage-angle

different-spin-directions.mp4

Acknowledgements

This project was created with the help of tutorials from CatLikeCoding by Jasper Flick. Their in-depth explanations and guidance were invaluable in understanding procedural generation, Unity's Burst compiler, and GPU instancing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published