Everyday Unity – Telegram
Everyday Unity
1.1K subscribers
157 photos
59 videos
42 files
2.36K links
A game developer and tech lead in a top grossing company posting Unity, programming, and gamedev related stuff that I find interesting
Website: https://gamedev.center

Most used tags are:
#performance
#shader
#interview

Author: @alexmtr
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
How to find the minimum enclosing circle of a set of points. It can be used to dynamically figure out where to center your camera and with how much zoom to keep everything you want in view.

https://www.reddit.com/r/Unity3D/comments/x1ei22/how_to_find_the_minimum_enclosing_circle_of_a_set/

Source code: https://pastebin.com/b3dDL7Ju

#enclose #circle #algorithm
👍3
Art production for games: Best practices and optimization

A very good list to follow. And I like that the author mentions that every solution has pros and cons to consider. E.g. tip 5 may go poorly without using sprite atlas for a splitted asset. So always tune solutions for your use case.

https://medium.com/ironsource-levelup/art-production-for-games-best-practices-and-optimization-5b651a167be8

#techart #assets #import #optimization #buildsize
👍3
Do I need to dispose of Tasks? - .NET Parallel Programming

Short answer: No.
The only time you may want to dispose a Task is when you are explicitly using IAsyncResult.AsyncWaitHandle which causes an allocation of a disposable resource. But even in that case you may not bother disposing it.

https://devblogs.microsoft.com/pfxteam/do-i-need-to-dispose-of-tasks/

#tpl #async
👍4
This media is not supported in your browser
VIEW IN TELEGRAM
Retro3DPipeline: A minimal example of a custom render pipeline with the Retro3D shader.

https://github.com/keijiro/Retro3DPipeline

#srp #renderpipeline
👍3
Simplex Derivatives

How to calculate derivatives of simplex noise and use them to generate normal and tangent vectors for procedurally generated meshes. Allows offloading the work from the main thread, since built-in RecalculateNormals() method runs only on the main thread.

https://catlikecoding.com/unity/tutorials/pseudorandom-surfaces/simplex-derivatives/

#normals #jobsystem #tangents #pcg
👍3