Skip to content

Commit

Permalink
add 2020 URP support for refractiion renderer feature
Browse files Browse the repository at this point in the history
  • Loading branch information
hybridherbst committed May 27, 2022
1 parent 5612536 commit f52fdfe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if HAVE_URP_12_OR_NEWER
#if HAVE_URP_12_OR_NEWER || HAVE_URP_10_OR_NEWER

using UnityEngine;
using UnityEngine.Rendering;
Expand All @@ -7,8 +7,9 @@

namespace UnityGLTF
{
#if HAVE_URP_12_OR_NEWER
[DisallowMultipleRendererFeature("Opaque Texture (Rough Refractions)")]
[Tooltip("Screen Space Shadows")]
#endif
public class CopyColorWithMipmaps : ScriptableRendererFeature
{
public Downsampling downsampling = Downsampling.None;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"name": "com.unity.render-pipelines.universal",
"expression": "12",
"define": "HAVE_URP_12_OR_NEWER"
},
{
"name": "com.unity.render-pipelines.universal",
"expression": "10",
"define": "HAVE_URP_10_OR_NEWER"
}
],
"noEngineReferences": false
Expand Down

0 comments on commit f52fdfe

Please sign in to comment.