It is common to see UIs with areas constructed of many
overlaid elements. A good example of this might be a
card Prefab in a card-battler game. While this approach
allows for a lot of customization in designs, it can
greatly impact performance with lots of pixel overdraw.
Furthermore, it may result in more draw batches.
Determine if you can merge many layered elements into
fewer (or even one) elements.
#ui #tips #overdraw
overlaid elements. A good example of this might be a
card Prefab in a card-battler game. While this approach
allows for a lot of customization in designs, it can
greatly impact performance with lots of pixel overdraw.
Furthermore, it may result in more draw batches.
Determine if you can merge many layered elements into
fewer (or even one) elements.
#ui #tips #overdraw
Mask and RectMask2D components are commonly
found in UI. Mask utilizes the render target’s stencil
buffer to draw or reject the pixels being drawn, bearing
the cost almost entirely on the GPU. In contrast,
RectMask2D performs bounds-checking on the CPU
to reject elements outside of the mask. Complex UIs
with lots of RectMask2D components, especially when
nested, can incur significant CPU costs in performing
the bounds checks. Take care not to use excessive
numbers of RectMask2D components, or if GPU load is
less than CPU load, consider whether it is preferable to
switch to Mask components to balance the overall load.
#ui #tips #mask #rectmask2d
found in UI. Mask utilizes the render target’s stencil
buffer to draw or reject the pixels being drawn, bearing
the cost almost entirely on the GPU. In contrast,
RectMask2D performs bounds-checking on the CPU
to reject elements outside of the mask. Complex UIs
with lots of RectMask2D components, especially when
nested, can incur significant CPU costs in performing
the bounds checks. Take care not to use excessive
numbers of RectMask2D components, or if GPU load is
less than CPU load, consider whether it is preferable to
switch to Mask components to balance the overall load.
#ui #tips #mask #rectmask2d
Be sure to disable the Raycast Target option on UI
Graphic elements that don’t need to receive input
events. Many UI elements don’t need to receive input
events, such as the text on a button or non-interactive
images. However, UI Graphic components have the
Raycast Target option enabled by default. Complex UIs
could potentially have a large number of unnecessary
Raycast Targets, so disabling them can save significant
amounts of CPU processing.
#ui #tips #raycasttarget
Graphic elements that don’t need to receive input
events. Many UI elements don’t need to receive input
events, such as the text on a button or non-interactive
images. However, UI Graphic components have the
Raycast Target option enabled by default. Complex UIs
could potentially have a large number of unnecessary
Raycast Targets, so disabling them can save significant
amounts of CPU processing.
#ui #tips #raycasttarget
Экспериментальное API для модификации контактов в Unity
https://dtf.ru/s/gamedevnews/165731-eksperimentalnoe-api-dlya-modifikacii-kontaktov-v-unity
#physics #contact #points
https://dtf.ru/s/gamedevnews/165731-eksperimentalnoe-api-dlya-modifikacii-kontaktov-v-unity
#physics #contact #points
DTF
Экспериментальное API для модификации контактов в Unity
Модификация контактов - это о настройке реакции на контакты. Такую фичу просили на протяжении многих лет. PhysX предложил эту функциональность некоторое время назад, но из-за внутренних деталей реализации было сложно вытащить это на уровень скриптов в Unity.…
Iridescent shader breakdown. I recently made an iridescent shader
https://medium.com/@sunnless/iridescent-shader-breakdown-c87ec5fe1e2a
#iridiscent #shader
https://medium.com/@sunnless/iridescent-shader-breakdown-c87ec5fe1e2a
#iridiscent #shader
Medium
Iridescent shader breakdown
I recently made an iridescent shader inUnity using shaderlab and hlsl. I decided to apply it to my illustration of the seven of swords…
Cracking BattlEye packet encryption | secret club
https://secret.club/2020/06/19/battleye-packet-encryption.html
#battleye #incryption #hack
https://secret.club/2020/06/19/battleye-packet-encryption.html
#battleye #incryption #hack
secret club
Cracking BattlEye packet encryption
Recently, Battlestate Games, the developers of Escape From Tarkov, hired BattlEye to implement encryption on networked packets so that cheaters can’t capture these packets, parse them and use them for their advantage in the form of radar cheats, or otherwise.…
Unity Standalone Profiler
https://thegamedev.guru/unity-performance/profiling-standalone-mode/
#standalone #profiler
https://thegamedev.guru/unity-performance/profiling-standalone-mode/
#standalone #profiler
The Gamedev Guru
Profiling Can Now Be As Smooth As Silk - The Gamedev Guru
How to profile and work on the editor at the same time without affecting your results with the Unity Standalone Profiler
UnityTip: PIX 2006.26 Is Released & Use PIX To Debug Graphics API Calls Of A Unity Game
For Unity developers, you can use PIX to debug Windows 64-bit Standalone or UWP (Universal Windows Platform) applications.
https://medium.com/chenjd-xyz/unitytip-pix-2006-26-is-released-use-pix-to-debug-graphical-instructions-of-a-unity-game-d3731c83ccd0
#profiler #windows
For Unity developers, you can use PIX to debug Windows 64-bit Standalone or UWP (Universal Windows Platform) applications.
https://medium.com/chenjd-xyz/unitytip-pix-2006-26-is-released-use-pix-to-debug-graphical-instructions-of-a-unity-game-d3731c83ccd0
#profiler #windows
Medium
UnityTip: PIX 2006.26 Is Released & Use PIX To Debug Graphics API Calls Of A Unity Game
PIX is a performance tuning and debugging tool provided by Microsoft for Windows developers. It provides a variety of modes to analyze the…
How to Automate Unity Building.
Super basic article about ci/cd.
https://medium.com/@elijahlopezz/automating-unity-building-9899836aaa01
#ci #cd
Super basic article about ci/cd.
https://medium.com/@elijahlopezz/automating-unity-building-9899836aaa01
#ci #cd
Medium
Automating Unity Building
It took me hours to figure out how to create a simple build noscript in Unity, here’s what you need to know about automating building.
Practical PlayMode Testing in Unity3D
A very basic article about playmode tests
https://medium.com/xrpractices/practical-playmode-testing-in-unity3d-5ea455bf28b0
#testing #playmode
A very basic article about playmode tests
https://medium.com/xrpractices/practical-playmode-testing-in-unity3d-5ea455bf28b0
#testing #playmode
Medium
Practical PlayMode Testing in Unity3D
Automation Tests are an integral part of the Software Development Life Cycle (SDLC). The Unity Test Framework (UTF) enables Unity Users to…
Reading Google Sheets - Unity Connect
https://connect.unity.com/p/reading-google-sheets
#google #sheets
https://connect.unity.com/p/reading-google-sheets
#google #sheets
Unity Connect
Reading Google Sheets - Unity Connect
Getting Started
The Frontends Revolution in Unity
An interesting approach, can be tested in some non-game app
https://medium.com/@gonzalez.martin90/the-frontends-revolution-in-unity-f1e3e1ddb14e
#reactor #microfrontend #architecture
An interesting approach, can be tested in some non-game app
https://medium.com/@gonzalez.martin90/the-frontends-revolution-in-unity-f1e3e1ddb14e
#reactor #microfrontend #architecture
Medium
The Frontends Revolution in Unity
And the time has come when frontends want their independence and fight for modularisation and autonomy they were looking for.
Recommended Asynchronous Pattern in .NET
Short and very basic article on TAP (async/await)
https://www.dotnetcurry.com/csharp/1517/async-pattern-dotnet
#async #csharp
Short and very basic article on TAP (async/await)
https://www.dotnetcurry.com/csharp/1517/async-pattern-dotnet
#async #csharp
Dotnetcurry
Recommended Asynchronous Pattern in .NET | DotNetCurry
The recommended pattern for asynchronous programming in the .NET framework is the task-based asynchronous programming (TAP). This tutorial gives a brief info about this pattern.
OnDemandRendering
Can be used to reduce throttling and battery consumption.
https://docs.unity3d.com/2019.3/Documentation/ScriptReference/Rendering.OnDemandRendering.html
#optimization #rendering #ondemand
Can be used to reduce throttling and battery consumption.
https://docs.unity3d.com/2019.3/Documentation/ScriptReference/Rendering.OnDemandRendering.html
#optimization #rendering #ondemand
Unity3D
Unity - Scripting API: OnDemandRendering
Optimize Metal apps and games with GPU counters
https://developer.apple.com/videos/play/wwdc2020/10603
#optimization #metal #rendering
https://developer.apple.com/videos/play/wwdc2020/10603
#optimization #metal #rendering
Apple Developer
Optimize Metal apps and games with GPU counters - WWDC20 - Videos - Apple Developer
GPU counters can help you precisely measure GPU utilization to pinpoint bottlenecks and optimize workloads for your Metal apps and games...
Пишем плагин для Unity правильно. Часть 2: Android / Pixonic / Habr
https://m.habr.com/en/company/pixonic/blog/353444/
https://m.habr.com/en/company/pixonic/blog/353444/
Habr
Пишем плагин для Unity правильно. Часть 2: Android
В предыдущей части мы рассмотрели основные проблемы написания нативных плагинов на Unity под iOS и Android, а также методы их решения для iOS. В этой статье я опишу основные рецепты по решению...
Physics ForceMode · UnityCommunity/UnityLibrary Wiki
https://github.com/UnityCommunity/UnityLibrary/wiki/Physics-ForceMode
#physics #forcemode
https://github.com/UnityCommunity/UnityLibrary/wiki/Physics-ForceMode
#physics #forcemode
GitHub
Physics ForceMode
:books: Library of all kind of noscripts, snippets & shaders for Unity - UnityCommunity/UnityLibrary
Steps to create a native Android plugin for Unity in Java using Android Studio
A very simple and thorough article about how to create your fist native android plugin for Unity
https://markcastle.com/steps-to-create-a-native-android-plugin-for-unity-in-java-using-android-studio-part-1-of-2/
https://markcastle.com/steps-to-create-a-native-android-plugin-for-unity-in-java-using-android-studio-part-2-of-2/
#native #plugin #android
A very simple and thorough article about how to create your fist native android plugin for Unity
https://markcastle.com/steps-to-create-a-native-android-plugin-for-unity-in-java-using-android-studio-part-1-of-2/
https://markcastle.com/steps-to-create-a-native-android-plugin-for-unity-in-java-using-android-studio-part-2-of-2/
#native #plugin #android