logo80lv
Articlesclick_arrow
Professional Services
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
Order Research
Advertiseplayer
profile_loginLogIn

Laser Cutting Meshes in Unity With Shader Graph & C#

Krystian Laskowski presented a neat setup and explained how it works.

Game Developer and 3D Artist Krystian Laskowski, also known as survivorr123, has recently garnered significant attention on Reddit, all thanks to the astounding custom-made setup that lets the author laser cut through meshes.

Powered by Unity, the framework was created using Shader Graph, the engine's tool that enables you to build shaders visually by creating and connecting nodes, instead of writing code, in combination with C#, the principal programming language of Unity, which governs the behavior and interaction of GameObjects. The creator stated that the system operates on object space coordinates and was developed solely as a proof of concept, not as a gameplay mechanic for any particular game project.

"[The system] uses one texture, red channel stores occlusion, blue channel stores time (for heat effect animation), green channel stores distance from the center of laser hit point, and alpha encodes normal with arctan2 for some basic shading," the creator explains. "It's then Ray Marched to create fake geometry. For rendering what's behind the object, it uses another camera with oblique projection."

You can learn more about the setup by checking out survivorr123's original Reddit post. We also highly encourage you to visit Krystian's Twitter, ArtStation, and YouTube pages to see more of his amazing experiments with Unity and 3D artworks.

And if you'd like to learn more about Unity's C# and Shader Graph, here are some great tutorials that will help you get started:

Don't forget to join our 80 Level Talent platform and our Telegram channel, follow us on InstagramTwitter, and LinkedIn, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more