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
Shader bits: World and screen space position
By Harry Alisavakis

https://halisavakis.com/shader-bits-world-and-screen-space-position/

#shader #basic
Do you want to add C# compiler options to your unity project? Like removing unwanted warnings from being thrown anywhere on your project?
-Create a csc.rsp file.
-Add in the compiler options u want to include.

e.g. -nowarn:0649

#compileroptions #csharp #csc
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