{"repo":"cinight/MinimalCompute","free":true,"listed":false,"github":"https://github.com/cinight/MinimalCompute","clone":"git clone https://github.com/cinight/MinimalCompute.git","description":null,"language":"C#","stars":1521,"topics":["unity3d","compute-shaders","unity"],"license":null,"category":"game-templates","readme_excerpt":"Minimal Compute Shader Examples Minimal test scenes contains compute shaders, compute buffers etc Playing with the transport between CPU GPU Unity version : 6000.3 (Unity 6.3), contains both BuiltinRP and Universal Render Pipeline (URP) scenes \\ See branches for older Unity versions \\ Tested with : Win DX11 Scene Image Description --- --- --- 🔷 01 Compute Texture 🔷 01 1 Basic The most basic one, edit texture with compute shader, shader takes the texture for rendering 01 2 FallingSand Example of using compute to animate texture pixels 01 3 Fluid 2D GPU Fluid. Ref to Scrawk/GPU-GEMS-2D-Fluid-Simulation 01 4 Fluid 3D A 3D version based on above GPU Fluid 🔷 02 StructuredBuffer 🔷 02 1 StructuredBufferNoCompute ComputeBuffer can also be used in Shader, not just ComputeShader. The folder contains implementation of unlit vert-frag, surface shader and unlit URP shader 02 2 ComputePaintTexture Paint the texture by sending object positions to compute shader with StructuredBuffer 02 3 RotatingCircles Similar to above, just another playground scene 02 4 ComputePaintTexture DFT Similar to above but drawing with Epicycles using Discrete Fourier Transform. Ref to The Coding Train's youtube video 02 5 ComputeParticlesDirect GPU Particle, drawing fixed no. of particles 02 6 ComputeSketch Draw quads on the screen with color filled by compute shader 02 7 ShimmerSphere Pass spheres position and radius to quad material for a fake shimmer effect 🔷 03 GPU to CPU 🔷 03 1 StructuredBufferWithComp","default_branch":null,"files":null,"tree":[],"storefront":"/r/cinight","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cinight/MinimalCompute/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}