Skip to content

Instantly share code, notes, and snippets.

View coryleach's full-sized avatar
💭
👾

Cory Leach of Legends coryleach

💭
👾
View GitHub Profile
@coryleach
coryleach / TMPro-Billboard.shader
Created August 9, 2023 23:57 — forked from JonahGrimm/TMPro-Billboard.shader
Unity TextMeshPro Billboard / always facing camera shader
Shader "TextMeshPro/Distance Field-BillboardFacing"
{
// Very, very slightly tweaked version. Works in 2022.1.18f1 URP 13.1.8
// Enjoy!
// - Jonah
// Billboarding version for TextMeshPro (tested in 2018.3), based on default Distance Field shader.
// ** Important part is to DISABLE the dynamic batching! (happens in this shader) **
// ...Took a while to figure out that one.