We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f550e97 commit 3a6f778Copy full SHA for 3a6f778
com.unity.render-pipelines.universal/Runtime/VFXGraph/Shaders/VFXDefines.hlsl
@@ -3,6 +3,14 @@
3
#define USE_FOG 1
4
#endif
5
6
+#if defined(UNITY_STEREO_INSTANCING_ENABLED) || defined(UNITY_STEREO_MULTIVIEW_ENABLED)
7
+#define CameraBuffer Texture2DArray
8
+#define VFXSamplerCameraBuffer VFXSampler2DArray
9
+#else
10
+#define CameraBuffer Texture2D
11
+#define VFXSamplerCameraBuffer VFXSampler2D
12
+#endif
13
+
14
// this is only necessary for the old VFXTarget pathway
15
// it defines the macro used to access hybrid instanced properties
16
// (new HDRP/URP Target pathway overrides the type so this is never used)
0 commit comments