Skip to content

Instantly share code, notes, and snippets.

View JonahGrimm's full-sized avatar
😁

Jonah Grimm JonahGrimm

😁
View GitHub Profile
@JonahGrimm
JonahGrimm / TMPro-Billboard.shader
Created October 4, 2022 10:29 — forked from Spongert/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.