Unity shader stories - Mandelbrot Set (Part2: Navigating the fractal)
Автор: Firnox
Загружено: 2025-03-23
Просмотров: 145
Learn to visualise stunning fractals with Unity using compute shaders. In this tutorial, we add keyboard and mouse movement, along with the ability to dynamically update how many iterations the shader is processing.
In this second part of the video we create serialized variables that can be edited in the inspector. Before adding keyboard input (using Input.GetKey) and mouse input (using Input.GetMouseButton) to move around. We also add the ability to center of a point of interest using the left mouse button (Input.GetMouseButtonDown).
Finally, we add the ability to change how many iterations are computed in the compute shader so you can see more detail, and implement a multiplicity so we keep going around the greyscale colours as we get more and more detail.
You can support my work (and get early access to new videos) on Patreon:
Patreon: / firnox
The full code for this is available on GitHub: https://github.com/Firnox/Mandelbrot
Contents:
0:00 Introduction
0:30 Inspector navigation
2:55 Keyboard navigation
6:28 Mouse navigation
9:00 Adding more detail
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: