You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
743 B
32 lines
743 B
// KlakSpout - Spout realtime video sharing plugin for Unity
|
|
// https://github.com/keijiro/KlakSpout
|
|
Shader "Hidden/Spout/Fixup"
|
|
{
|
|
Properties
|
|
{
|
|
_MainTex("", 2D) = "white" {}
|
|
}
|
|
SubShader
|
|
{
|
|
Cull Off ZWrite Off ZTest Always
|
|
Pass
|
|
{
|
|
CGPROGRAM
|
|
#pragma vertex vert
|
|
#pragma fragment frag
|
|
#define SPOUT_SENDER
|
|
#include "Fixup.cginc"
|
|
ENDCG
|
|
}
|
|
Pass
|
|
{
|
|
CGPROGRAM
|
|
#pragma vertex vert
|
|
#pragma fragment frag
|
|
#pragma multi_compile _ UNITY_COLORSPACE_GAMMA
|
|
#define SPOUT_RECEIVER
|
|
#include "Fixup.cginc"
|
|
ENDCG
|
|
}
|
|
}
|
|
}
|
|
|