Everyday Unity
1.15K subscribers
163 photos
59 videos
42 files
2.37K 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
Introduction to octrees

As an addition to the previous post: some theory about octree and use cases. Octrees are often used in 3D, so if you need it in 2D, then use quadtree which is basically the two-dimensional analogue of octree.

https://www.gamedev.net/tutorials/programming/general-and-gameplay-programming/introduction-to-octrees-r3529/

#datastructure #octree #spacial
πŸ‘5
Clean Design Documentation Principles

A good set of principles to work with design docs. A good design phase saves a lot of time, as it makes you evaluate the requirements and think about corner cases way before it is engraved in stone (implemented in code).

https://medium.com/@tricky_fat_cat/clean-design-documentation-principles-59819b9913d6

#docs #gamedesign
πŸ‘4
WFC (Wave Function Collapse) with Unity

This is an attempt at implementing a WFC procedural model generator with Unity.

https://github.com/keijiro/WfcMaze

#wfc #pcg
πŸ‘4
To celebrate the release of Entities 1.0 Experimental, enjoy this fresh top ten links to help you get up to speed!

https://mobile.twitter.com/MrAndyPuppy/status/1574877468653420544

#ecs #entities
πŸ‘3
πŸ‘5
Problem-Solving Techniques: The Sniper vs the General

I don't really agree with the metaphor, but the main point is valid: the probability of a successful guess drops with each attempt, so try to use both techniques when solving an issue.

https://betterprogramming.pub/problem-solving-techniques-the-sniper-vs-the-general-5620e2096003

#problemsolving #se #engineering
πŸ‘3
animation.gif
14.9 MB
Rendering A Card In URP

A very detailed post about rendering a card with a custom VFX.

https://fronkongames.github.io/Dawn-Of-The-Cards/article/rendering_a_card/

#urp #shader #card
πŸ‘3
Performance traps of ref locals and ref returns in C#

Be cautious with ref returns because they can break encapsulation.
Be cautious with readonly ref returns because they’re more performant only for readonly structs and could cause performance issues for regular structs.
Be cautious with readonly ref locals because they also could cause performance issues for non-readonly structs causing defensive copy each time the variable is used.

https://devblogs.microsoft.com/premier-developer/performance-traps-of-ref-locals-and-ref-returns-in-c/

#struct #readonly #ref #performance
πŸ‘2
Texture Debugger

A component used to display temporary textures generated during the rendering process(e.g. GBuffer,AO Texture) on the game screen.

https://github.com/Minghou-Lei/unity-texture-debugger

#debug #shader #texture
πŸ‘4