Skip to content

Instantly share code, notes, and snippets.

@KumoKairo
Created December 25, 2017 17:02
Show Gist options
  • Save KumoKairo/9689d9148ae6804f115a4a4fac41a010 to your computer and use it in GitHub Desktop.
Save KumoKairo/9689d9148ae6804f115a4a4fac41a010 to your computer and use it in GitHub Desktop.
Shader "Identity"
{
...
SubShader
{
...
Pass
{
...
float4 frag (v2f i) : SV_Target
{
float4 col = tex2D(_MainTex, i.uv);
return col;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment