My Unity repo's git config as of today.
For more complex and complete alternatives, look at:
| [gd_resource type="Theme" load_steps=12 format=3 uid="uid://7bvxnk5n5imx"] | |
| [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6h42l"] | |
| content_margin_left = 10.5 | |
| content_margin_top = 8.75 | |
| content_margin_right = 10.5 | |
| content_margin_bottom = 8.75 | |
| bg_color = Color(0.117647, 0.117647, 0.117647, 1) | |
| draw_center = false | |
| border_color = Color(1, 1, 1, 0.137255) |
| Shader "Unlit/MatCap Techniques" | |
| { | |
| Properties | |
| { | |
| [NoScaleOffset] _MatCap ("MatCap", 2D) = "white" {} | |
| [KeywordEnum(ViewSpaceNormal, ViewDirectionCross, ViewDirectionAligned)] _MatCapType ("Matcap UV Type", Float) = 2 | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Opaque" } |
| Shader "WorldNormalFromDepthTexture" | |
| { | |
| Properties { | |
| [KeywordEnum(3 Tap, 4 Tap, Improved, Accurate)] _ReconstructionMethod ("Normal Reconstruction Method", Float) = 0 | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Transparent" "Queue"="Transparent" } | |
| LOD 100 |
| // NOTE DONT put in an editor folder! | |
| using UnityEngine; | |
| public class AutohookAttribute : PropertyAttribute | |
| { | |
| } |
My Unity repo's git config as of today.
For more complex and complete alternatives, look at:
| // When creating shaders for Universal Render Pipeline you can you the ShaderGraph which is super AWESOME! | |
| // However, if you want to author shaders in shading language you can use this teamplate as a base. | |
| // Please note, this shader does not necessarily match perfomance of the built-in URP Lit shader. | |
| // This shader works with URP 7.1.x and above | |
| Shader "Universal Render Pipeline/Custom/Physically Based Example" | |
| { | |
| Properties | |
| { | |
| // Specular vs Metallic workflow | |
| [HideInInspector] _WorkflowMode("WorkflowMode", Float) = 1.0 |