This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.Rendering; | |
public class DrawToScreen : MonoBehaviour | |
{ | |
// Camera reference | |
private Camera refCamera; | |
// Target render texture | |
private RenderTexture refRenderTexture; | |
// Command buffer that will hold list of rendering commands |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
using UnityEngine.Rendering.RendererUtils; | |
using UnityEngine.Rendering.Universal; | |
using UnityEngine.Serialization; | |
public class OverrideMaterial : MonoBehaviour | |
{ |