Assignment for RMIT Mixed Reality in 2020
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.
 
 
 

19 lines
416 B

namespace VRTK
{
using UnityEngine;
public class VRTK_TunnelEffect : MonoBehaviour
{
protected Material material;
public virtual void SetMaterial(Material material)
{
this.material = material;
}
protected virtual void OnRenderImage(RenderTexture src, RenderTexture dest)
{
Graphics.Blit(src, dest, material);
}
}
}