Hello emos,
I followed this tutorial
But i see only a black circle
(like this)

Here is my mask png file (i also tryied other formats)
Here is Shader code
Shader "Custom/Mask"
{
properties
{
_MainTex ("Main Texture", 2D) = "white" {}
_Mask ("Mask Texture", 2D) = "white" {}
}
subshader
{
Tags { "Queue"="Transparent"}
Lighting On
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
Pass
{
SetTexture [_Mask] {combine texture}
SetTexture [_MainTex] {combine texture, previous}
}
}
}
Here is GUIManager Code
using UnityEngine;
using System.Collections;
public class GUIManager : MonoBehaviour
{
public RenderTexture myTexture;
public Material myMaterial;
void OnGUI()
{
if (Event.current.type == EventType.Repaint)
{
Graphics.DrawTexture( new Rect(0,0,128,128), myTexture, myMaterial);
}
}
}