Skip to content

Instantly share code, notes, and snippets.

View alhvi's full-sized avatar

Alhvi Balcarcel alhvi

  • UVG
  • Guatemala City, Guatemala
View GitHub Profile
@alhvi
alhvi / billboard.shader
Last active March 11, 2025 20:00 — forked from kaiware007/billboard.shader
Simple Billboard shader for Unity
// Original shader from https://gist.github.com/kaiware007/8ebad2d28638ff83b6b74970a4f70c9a
// Adapted to URP with instructions from https://docs.unity3d.com/Packages/[email protected]/manual/writing-shaders-urp-basic-unlit-structure.html
// And using code from https://gist.github.com/kaiware007/8ebad2d28638ff83b6b74970a4f70c9a?permalink_comment_id=4464811#gistcomment-4464811
Shader "Unlit/Billboard"
{
Properties
{
[MainTexture] _BaseMap ("Texture", 2D) = "white" {}
}