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
Four Color Gradient

Clean way to create a 4 color gradient by lerping 2 colors a time and then lerping the result by another axis once more.

https://mitchmcclellan.com/four-color-gradient/

#gradient #shader
Light in Unity 1 - Shader Coding in Unity from a to z

An article about how Lambert lighting works and how to reimplement it in unity shader.

https://medium.com/shader-coding-in-unity-from-a-to-z/light-in-computer-graphics-be438e13522f

#shader #basics #lighting
Rendering Pipeline In Unity - Shader Coding in Unity from a to z

Simple denoscription of unity rendering pipeline (looks more like a general rendering pipeline)

https://medium.com/shader-coding-in-unity-from-a-to-z/rendering-pipe-line-f0471aa0904b

#rendering #pipeline
Custom memory profiler. Can be used along with default memory profiler for better analysis.

GitHub - pschraut/UnityHeapExplorer: A Memory Profiler, Debugger and Analyzer for Unity 2019.3 and newer.

https://github.com/pschraut/UnityHeapExplorer

#heap #explorer #memory #profiler
Announcing Microsoft.IO.RecycableMemoryStream

Microsoft.IO.RecyclableMemoryStream is a MemoryStream replacement that offers superior behavior for performance-critical systems. In particular it is optimized to do the following:

Eliminate Large Object Heap allocations by using pooled buffers
Incur far fewer gen 2 GCs, and spend far less time paused due to GC
Avoid memory leaks by having a bounded pool size
Avoid memory fragmentation
Provide excellent debuggability
Provide metrics for performance tracking

https://www.philosophicalgeek.com/2015/02/06/announcing-microsoft-io-recycablememorystream/

Repo: https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream
Nuget: https://www.nuget.org/packages/Microsoft.IO.RecyclableMemoryStream/

#optimization #performance #recycable #memorystream