yyl
2026-02-05 a29fffa93dc66ff45589f8fd1f8584f7bcb9fdad
Main/Component/UI/Effect/PostEffectsBase.cs
@@ -109,8 +109,9 @@
        protected bool CheckSupport (bool needDepth)
      {
            isSupported = true;
            supportHDRTextures = SystemInfo.SupportsRenderTextureFormat(RenderTextureFormat.ARGBHalf);
            supportDX11 = SystemInfo.graphicsShaderLevel >= 50 && SystemInfo.supportsComputeShaders;
            // Unity 2022+ - Modern devices support HDR and compute shaders
            supportHDRTextures = true;
            supportDX11 = true;
   //         if (!SystemInfo.supportsImageEffects)
         //{
@@ -118,10 +119,10 @@
   //             return false;
   //         }
            if (needDepth && !SystemInfo.SupportsRenderTextureFormat (RenderTextureFormat.Depth))
            if (needDepth)
         {
                NotSupported ();
                return false;
                // Modern Unity versions support depth textures by default
                GetComponent<Camera>().depthTextureMode |= DepthTextureMode.Depth;
            }
            if (needDepth)