Skip to content

Instantly share code, notes, and snippets.

View Madgvox's full-sized avatar
🤖
I am not a robot.

Nate Tessman Madgvox

🤖
I am not a robot.
View GitHub Profile
@smkplus
smkplus / UnityShaderCheatSheet.md
Last active May 7, 2024 07:34
Controlling fixed function states from materials/scripts in Unity

16999105_467532653370479_4085466863356780898_n

Shader "MaterialPropertyDrawer"
{
Properties
{
_MainTex("Texture", 2D) = "white" {}
 
[HideInInspector] _MainTex2("Hide Texture", 2D) = "white" {}