Skip to content

Instantly share code, notes, and snippets.

@cinight
cinight / MinimalHDRPShader
Last active January 9, 2025 14:15
Minimal HDRP Shader
Shader "Unlit/HDRP"
{
Properties
{
[MainColor] _BaseColor("Base Color", Color) = (1,1,1,1)
[MainTexture] _BaseColorMap("Base Map", 2D) = "white" {}
}
SubShader
{
Tags { "RenderType"="Opaque" "RenderPipeline" = "HDRenderPipeline" }
@cinight
cinight / MinimalURPShader
Created September 23, 2024 17:39
Minimal URP Shader
Shader "MinimalURPShader"
{
Properties
{
[MainTexture] _BaseMap ("Albedo", 2D) = "white" {}
[MainColor] _BaseColor ("Color", Color) = (1,1,1,1)
}
SubShader
{
Tags { "RenderType"="Opaque" "RenderPipeline" = "UniversalPipeline" }