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
LiteEntitySystem: Pure C# HighLevel API for multiplayer games

Some of the features:
Lag compensation
Serialization of custom types (like strings,lists,arrays,jsons,etc)
Synchronized variables (with optional notifications on change)
Client-side prediction
Client-side spawn prediction (for projectiles)
Remote procedure calls (RPC) with compile-time checks
Client input system
Interpolation system
Delta-compressed state synchronization
LZ4 compression of initial world state

https://github.com/RevenantX/LiteEntitySystem

A sample: https://github.com/RevenantX/LiteEntitySystemUnityExample

#netcode
๐Ÿ‘4
animation.gif
11 MB
Indirect Rendering With Compute Shaders

An example of rendering numerous instances in Unity3D using Compute shaders for culling and LOD'ing and Graphics.DrawMeshInstancedIndirect to draw.

https://github.com/ellioman/Indirect-Rendering-With-Compute-Shaders

#indirect #computeshader #rendering
๐Ÿ‘3
This media is not supported in your browser
VIEW IN TELEGRAM
Dynamic destruction in Radio Viscera

Not a Unity game, but a great story about how wall destruction was implemented. Can be used as a reference for a custom destruction system.

https://fire-face.com/destruction/

#destruction
๐Ÿ‘6
Toon Render Pipeline (Unity SRP): A Scriptable Render Pipeline (SRP) designed specifically for toon/stylized visuals.

https://github.com/Delt06/toon-rp

#toon #srp
๐Ÿ‘5
animation.gif
36 MB
SPCRJointDynamics: A bone physics engine for cloth.

SPCRJointDynamics uses cross simulation algorithm (mass-spring-damper model) to animate the bones in real-time. For direct use for skirts and hairs, we mainly focused on the overall appearance rather than the physically accurate behaviors.

https://github.com/SPARK-inc/SPCRJointDynamics

#clothphysics #cloth
๐Ÿ‘3
Unity-Textures-Hunter: Provides summary of all textures and atlases in Unity project

It makes an analysis of non-atlas textures to give some recommendations upon their compression settings.
It also helps to analyze all your atlases at once and highlights issues if their textures used in Resources and/or Addressables (which may lead to duplicated textures in build).

https://github.com/AlexeyPerov/Unity-Textures-Hunter

#editortools #optimization #texture
๐Ÿ‘7
This media is not supported in your browser
VIEW IN TELEGRAM
Unity Tip - You can ๐—œ๐˜€๐—ผ๐—น๐—ฎ๐˜๐—ฒ an ๐—ผ๐—ฏ๐—ท๐—ฒ๐—ฐ๐˜ in Unity ๐Ÿ” by selecting it and pressing ๐—ฆ๐—ต๐—ถ๐—ณ๐˜ + ๐—›

https://www.reddit.com/r/Unity3D/comments/123fo56/unity_tip_you_can_๐—œ๐˜€๐—ผ๐—น๐—ฎ๐˜๐—ฒ_an_๐—ผ๐—ฏ๐—ท๐—ฒ๐—ฐ๐˜_in_unity_by/

#tips #editor
๐Ÿ‘8
The World's Smallest Hash Table

An example how you can optimize an algorithm knowing the details of your particular problem

https://orlp.net/blog/worlds-smallest-hash-table/

#optimization
๐Ÿ‘4
SebLague/Ray-Tracing

A very simple (and slow) ray tracer, coded in C# and HLSL in the Unity engine.

https://github.com/SebLague/Ray-Tracing

You can watch a video about the project here: https://youtu.be/Qz0KTGYJtUk

#raytracing #shader
๐Ÿ‘2
EasyTimeSlicing makes it easy to slice heavy tasks into consequent game frames to execute and helps to keep the game running smoothly and avoid janks or spikes.

Time slicing is a useful technique for optimizing the performance and consistency of games, but should be used carefully to not affect the gameplay too much.

https://github.com/aillieo/EasyTimeSlicing

#slicing
๐Ÿ‘3
This media is not supported in your browser
VIEW IN TELEGRAM
Unity-Demo-Hair-Tests: Various tests of Unity's demo hair system, and Alembic particle grooms imported from Blender.

https://github.com/TCKingCeryn/Unity-Demo-Hair-Tests

#hair #physics
๐Ÿ‘3
This media is not supported in your browser
VIEW IN TELEGRAM
AmogusDither: A simple, customizable dither pixel shader for Unity3D, with an Amogus twist

https://github.com/nbarber20/AmogusDither

#dither #shader
๐Ÿ‘2
Unity Localized App Title: Localize your Unity app's name and/or icon on Android & iOS

This plugin helps you localize your app's name and/or icon on Android & iOS. Note that the icon doesn't automatically change with the device language on iOS but it's possible to change it at runtime via scripting API.

https://github.com/yasirkula/UnityMobileLocalizedAppTitle

#localization #native
๐Ÿ‘5