Skip to content

Instantly share code, notes, and snippets.

View D4KU's full-sized avatar

David Kutschke D4KU

  • Berlin, Germany
View GitHub Profile
@D4KU
D4KU / LitRetroreflective.shader
Last active January 14, 2021 19:50 — forked from phi-lira/UniversalPipelineTemplateShader.shader
Universal Pipeline shader with retroreflective behaviour. This shader works with Universal Render Pipeline 7.1.x and above.
Shader "Custom/Lit Retroreflective"
{
Properties
{
// Specular vs Metallic workflow
[HideInInspector] _WorkflowMode("WorkflowMode", Float) = 1.0
[MainColor] _BaseColor("Color", Color) = (0.5,0.5,0.5,1)
[MainTexture] _BaseMap("Albedo", 2D) = "white" {}