This file contains 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
// https://twitter.com/Cyanilux/status/1396848736022802435?s=20 | |
#ifndef GRASS_INSTANCED_INCLUDED | |
#define GRASS_INSTANCED_INCLUDED | |
// ---------------------------------------------------------------------------------- | |
// Graph should contain Boolean Keyword, "PROCEDURAL_INSTANCING_ON", Global, Multi-Compile. | |
// Must have two Custom Functions in vertex stage. One is used to attach this file (see Instancing_float below), | |
// and another to set #pragma instancing_options : |
This file contains 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.Reflection; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
using UnityEngine.Rendering.Universal; | |
using ShadowResolution = UnityEngine.Rendering.Universal.ShadowResolution; | |
/// <summary> | |
/// Enables getting/setting URP graphics settings properties that don't have built-in getters and setters. |