TGViewer
Channel Public Channel
Everyday Unity

Everyday Unity

@everydayunity

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
Subscribers
1.18K
Photos
169
Videos
61
Links
2.4K

Showing posts older than #2136 · Back to latest

Older Posts 20 shown
Post #2132 237
Practical Optimizations

This is a long video, but it's worth watching. The speaker is a great engineer who shares an example of optimization using DOD (Data-oriented design) in Kerbal Space Program 2. Obviously, this optimization technique is not suitable or needed in every game, but when it fits, it gives amazing results.

https://youtu.be/NAVbI1HIzCE

#performance #optimization #dod #jobsystem
YouTube Practical Optimizations So with all the talk about optimization happening on Twitter, some people who saw me give this talk at a private conference asked for me to do a public version. If you want to play with the code yourself, a more complete version of the monster example is…
  • 👍 4
Post #2131 198
Runtime authoring in projects using ECS for Unity

An overview of data modes that are claimed to improve the workflow with game objects' and entities' data in the editor and playmode.

https://blog.unity.com/engine-platform/runtime-authoring-in-projects-using-ecs

#dots #baking #authoring #datamodes
Unity Blog Runtime authoring in projects using ECS for Unity | Unity Blog Unity’s Sébastien L'Heureux shares more about the new Data Modes pattern so developers can make the most of Editor workflows specific to projects using ECS for Unity.
  • 👍 3
  • 👎 1
Post #2129 188
QuadSphere: Unity QuadSphere with Level of Detail subdivision

A similar technique is used in Kerbal Space Program 2 to render planets with level of detail support for better performance

https://github.com/bicarbon8/QuadSphere

#quadsphere
  • 👍 3
Post #2128 210
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
Post #2127 231
Post #2126 195
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 scripts so that e.g. Text variables in those scripts 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
GitHub GitHub - yasirkula/UnityTextToTextMeshProUpgradeTool: Upgrade Text, InputField, Dropdown and TextMesh objects to their TextMesh… Upgrade Text, InputField, Dropdown and TextMesh objects to their TextMesh Pro variants in Unity - yasirkula/UnityTextToTextMeshProUpgradeTool
  • 👍 4
Post #2125 201
Post #2122 243
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
Post #2120 220
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
Post #2119 228
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
Post #2117 187
Stylized Water Shader

A tutorial of an amazing quality that contains a detailed step-by-step description 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
Post #2116 168
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →