Skip to content

Instantly share code, notes, and snippets.

View vidocco's full-sized avatar
💻
Working

Jack Thibaut vidocco

💻
Working
View GitHub Profile
@ScottJDaley
ScottJDaley / RenderObjectsToTextureFeature.cs
Created September 6, 2022 19:31
Example of a URP Renderer Feature that can render objects (by layer mask) to a global texture
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;
public class RenderObjectsToTextureFeature : ScriptableRendererFeature
{
public RenderObjectsToTexturePass.Settings Settings = new();