This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---------------------------------------- | |
// Source Engine Bumped Lightmapped Diffuse | |
// Replace all values in full captials (not vertex semantics) with constants from the renderer | |
// Replace all functions in full captials with equivalent samplers | |
VertexInput | |
{ | |
float3 position : POSITION; | |
float3 normal : NORMAL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor.Graphing; | |
namespace UnityEditor.ShaderGraph | |
{ | |
[Title("Input", "Lighting", "Main Light")] | |
public class MainLightNode : AbstractMaterialNode, IGeneratesBodyCode | |
{ | |
public MainLightNode() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
Shader "UI/DitheredClip" | |
{ | |
Properties | |
{ | |
[PerRendererData] _MainTex ("Sprite Texture", 2D) = "white" {} | |
_Color ("Tint", Color) = (1,1,1,1) | |
_StencilComp ("Stencil Comparison", Float) = 8 |