Learn to Write Unity Compute Shaders

Learn to Write Unity Compute Shaders

Harness the power of the GPU

By learning to create Compute Shaders, you will put yourself at the cutting edge of Unity development. Unlike a traditional shader, you can use a Compute Shader to handle any data manipulation problem, where having dozens (or even hundreds) of threads running simultaneously causing a bottleneck in your game to run many, many times faster. In this course you will start from small steps, learning the basics of compute shaders. First, we look at passing data from the CPU to the GPU using buffers. Then we’ll look at using these buffers in our calculations. Once you have this initial grounding, you learn how to use these techniques to create blisteringly-fast post-processing filters. You can use Compute Shaders to handle particle effects and flocking calculations. In the course, you’ll create a flock of thousands of birds where each bird flaps its wings in sync with its speed through the air. Divide and conquer is the way, with Compute Shaders. By using hundreds of threads running simultaneously, we develop a GPU Physics engine that can handle thousands of tumbling chess pieces. Compute Shaders are ideal for handling the orientation of grass blades as an avatar moves through grass. The challenging subject of fluids (both 2D and 3D) are covered in the course and you’ll see how much this computationally-intensive field benefits from Compute Shaders.

Best Seller CourseUnity Dialogue & Quests: Intermediate C# Game Coding

What you’ll learn

  • How to write Unity Compute Shaders
  • How to use ComputeShaders in post processing image filters
  • How to use ComputeShaders for particle effects and flocking
  • How use StructuredBuffers to share data between a ComputeShader and an instancing Surface Shader
  • Using ComputeShaders to handle fluid simulations
  • Using ComputeShaders to create a Physics engine

You May Also Need This CourseThe Complete libGDX Game Development Course | Create 5 Games

Udemy screenshot
success 100%

Udemy Upcoming Sale in September 2023

New customer offer! Top courses from $14.99 when you first visit Udemy

Udemy's thousands of highly-rated courses across all subject matters for as low as $14.99

New customer offer! Top courses from $14.99 when you first visit Udemy