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
Removing async void
When using async await we inevitably have to mark methods as async void. This leads to a lot of issues for programmers

Example how async event handlers can be made safer

https://johnthiriet.com/removing-async-void/

#async #await #void #fire #forget #safe
Writing Shader Code for the Universal RP

Shaderlab
HLSL
Structs
Vertex Shader
Fragment Shader
Keywords & Shader Variants
Lighting Introduction
PBR Lighting
ShadowCaster & Depth Only Passes
Summary of Built-in vs URP differences

https://cyangamedev.wordpress.com/2020/06/05/urp-shader-code/

#shader #urp
How can I achieve simulated fluid surface deformation in a bottle? Like in the Half-Life: Alyx

https://gamedev.stackexchange.com/questions/182989/how-can-i-achieve-simulated-fluid-surface-deformation-in-a-bottle

#liquid #breakdown
Introducing the Editor Iteration Profiler - Unity Forum

High-level features summary
Monitor and capture profiling data from assembly reload, assembly compilation, and enter playmode.

Export captured data or Profiler data to a number of formats such as HTML, JSON (for chrome://tracing, which is a fast flame-graph style data visualizer), CSV, and Plaintext.

Export to a special type of HTML (HTML Performance Report), which attempts to minimize the number of clicks needed to get to the important areas of the profiled data, as well as aggregate possible areas of interest which could be optimized (e.g. OnEnable calls)

https://forum.unity.com/threads/introducing-the-editor-iteration-profiler.908390/

#eip #editor #iteration #profiler