Making Our Pixels Round -  Circle Pixel Shader - Part 3 @WorldOfZeroDevelopment
Making Our Pixels Round -  Circle Pixel Shader - Part 3  @WorldOfZeroDevelopment
Uploaded June 2019 | Updated November 2026, 2 hours ago
In the past two episodes we've created a pixelating shader that divides an image into a lower resolution grid of pixels and a second shader which renders a circle inside of a 1x1 area. Lets combine these two techniques and create a 1x1 area inside each of the pixel grid cells we've created so that every single cell can be rendered as a circle instead of a pixel.

Once we have a set of 1x1 grids for us to draw, we can use the existing circle shader with some minor modifications so that it takes the newly calculated value instead of our original UV coordinates. Effectively this just introduces a background canvas to our image (it will be black in this example) that frames every circle.

For this video, all of the circular pixels we draw will be the same width. However, in the next video we'll update that to be controlled by the textures alpha channel to give you more control over how this effect looks!

The code for this series is available on GitHub here: github.com/WorldOfZero/UnityVisualizations/tree/master/CirclePixels

Join the World of Zero Discord Server: discord.gg/hU5Kq2u
Making Our Pixels Round -  Circle Pixel Shader - Part 3Shooting Through Walls With Bullet Penetration in UnityDraw Debug Information in the Unity Editor with Gizmos - Quick TipBuilding a Game Board in UnityBuilding a Browser Based Game with Babylon.JSExperimenting with Obstacle Avoidance in Unity 3DUsing Dependency Injection in ASP.NETExperimenting With Top Down Spaceship Movement ControllersTracking Task Progress in UnityNavigate Your Shell With pushd and popd - Quick TipUsing Debug.DrawLine and Debug.DrawRay to Visually Debug Unity 3D - Quick TipPoint and Ripple - Ripple Shader - Part 2
World of Zero |

Making Our Pixels Round - Circle Pixel Shader - Part 3

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER