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
This media is not supported in your browser
VIEW IN TELEGRAM
Wind Waker Style Stencil Buffer Lights (URP & BIRP)

A great denoscription of the stencil buffer with samples to better describe the VFX

https://www.patreon.com/posts/wind-waker-style-78831006

#shader #stencil #light
👍3
This media is not supported in your browser
VIEW IN TELEGRAM
NovaShader: Multi-functional shader for the Particle System that supports Universal Render Pipeline (URP) of Unity.

The repo also contains a number of samples.

https://github.com/CyberAgentGameEntertainment/NovaShader

#shader #particles #urp
👍4
scene-ref-attribute: Unity C# attribute for serializing component and interface references within the scene or prefab during OnValidate

Helps to avoid hassle with manually assigning references in the editor. Given the way to provide the scope for finding a component, it should cover the majority of use cases

https://github.com/KyleBanks/scene-ref-attribute

#editortool #autoref
👍2
This media is not supported in your browser
VIEW IN TELEGRAM
Stylized Water Shader

A tutorial of an amazing quality that contains a detailed step-by-step denoscription how to achieve stylized water look.
It contains info on how to create a water shader with:
depth-based colors
refraction
surface and intersection foam
lighting effects
waves and buoyancy
caustics
planar reflections


https://alexanderameye.github.io/notes/stylized-water-shader/

#shader #water
👍4
Sharing code to build and deploy to Steam with one click

It relies on the com.unity.platforms package that is experimental.

https://www.reddit.com/r/Unity3D/comments/11mv0i3/sharing_code_to_build_and_deploy_to_steam_with/

Gist: https://gist.github.com/Marc-Ducret/ae65c430e6d27bfdf618c89150559cb6

#ci #steam
👍2
This media is not supported in your browser
VIEW IN TELEGRAM
Fractured Cube Breakdown

Requires a pre-fractured model (for example made in Blender, using the Cell Fracture addon). But importantly, the positions of the origin/pivot of each fractured piece has been baked into mesh data (UV channels).

https://www.cyanilux.com/tutorials/fractured-cube-breakdown/

#shadergraph #fracture #vfx
👍5
Unity-HDRP-GPU-View-Cone: View Cone, Field of View, Sight Cone - done with custom Shadow Mapping in Unity HDRP

The technique used is basically the shadow mapping. Rendering the depth texture from the eyes of the enemy, then checking which spots are visible to the player AND the enemy and only drawing on overlapping pixels. The performance cost should be like having a spotlight with shadows turned on.
Since the latest few HDRP Upgrades the system doesn't work in builds anymore. So consider this repo just for learning purposes on how to theoretically set up custom shadow mapping

https://github.com/leorid/Unity-HDRP-GPU-View-Cone

#hdrp #lineofsight #viewcone
👍3
Unity Production Architecture

There are endless ways of scaling your architecture without suffering, and different developers have different opinions about that. The author tried to identify practices that are easy to follow, simple enough, but still result in scalability.
The book is not finished yet, but 3 chapters are available already.

https://unity-architecture.com/

#architecture
👍8
Statistics matter: How Data Impacts Play

How excessive stats can harm player experience.

http://www.hermanelectro.com/posts/positive_negative_stats.html

#gamedesign #stats
👍3
Text To TextMesh Pro Upgrade Tool for Unity

Helps you upgrade the Text, InputField, Dropdown and TextMesh objects in your projects to their TextMesh Pro variants. It also upgrades the noscripts so that e.g. Text variables in those noscripts become TMP_Text variables. Then, it reconnects the references to the upgraded components (e.g. if a public variable was referencing an upgraded Text component, it will now reference the corresponding TextMeshProUGUI component).

https://github.com/yasirkula/UnityTextToTextMeshProUpgradeTool

#textmeshpro #editortool
👍4
This media is not supported in your browser
VIEW IN TELEGRAM
Unity Shadow Volume Generator (Stencil Shadows): Library for generating sharp shadow volumes in Unity3D.

Shadow volumes are recognized by the CRISP and ACCURATE shadows that they cast. It essentially finds the outline of an object from the lights perspective, and then creates a mesh that casts into the scene.

https://github.com/rhedgeco/UnityShadowVolumeGenerator

#rendererfeature #shadow #shadowvolume #stencilshadow
👍4