diff --git a/src/imports/materiallib/shaders/frostedThinGlassBlurX.frag b/src/imports/materiallib/shaders/frostedThinGlassBlurX.frag
index 77c6362a498d984d8958e8a63c7bf4bc38808060..6716ac26e7ea2083b2cc8dd1b65e8cfe5f5a09d9 100644
--- a/src/imports/materiallib/shaders/frostedThinGlassBlurX.frag
+++ b/src/imports/materiallib/shaders/frostedThinGlassBlurX.frag
@@ -38,12 +38,16 @@ vec3 texCoord0;
 /*{
   "uniforms": [
       { "type": "sampler2D", "name": "BlurBuffer" }
+  ],
+  "outputs": [
+    { "stage": "fragment", "type": "vec4", "name": "fragColor" }
   ]
 }*/
 #endif
 
 // The following enables functioning with the direct OpenGL rendering path. To be removed.
 #if !QSSG_ENABLE_RHI
+out vec4 fragColor;
 uniform sampler2D BlurBuffer;
 #endif
 
@@ -69,6 +73,6 @@ void main()
         wtsum += wt * 2.0;
     }
 
-    gl_FragColor = value / wtsum;
-    gl_FragColor.a = 1.0;
+    fragColor = value / wtsum;
+    fragColor.a = 1.0;
 }
diff --git a/src/imports/materiallib/shaders/frostedThinGlassBlurY.frag b/src/imports/materiallib/shaders/frostedThinGlassBlurY.frag
index 408ca8b09ac486da692608e2847df08c653e9766..a6c77dc722809e2eb7e08cb5ce863d74fdc236b7 100644
--- a/src/imports/materiallib/shaders/frostedThinGlassBlurY.frag
+++ b/src/imports/materiallib/shaders/frostedThinGlassBlurY.frag
@@ -39,12 +39,16 @@ vec3 texCoord0;
   "uniforms": [
       { "type": "sampler2D", "name": "BlurBuffer" },
       { "type": "sampler2D", "name": "OriginBuffer" }
+  ],
+  "outputs": [
+    { "stage": "fragment", "type": "vec4", "name": "fragColor" }
   ]
 }*/
 #endif
 
 // The following enables functioning with the direct OpenGL rendering path. To be removed.
 #if !QSSG_ENABLE_RHI
+out vec4 fragColor;
 uniform sampler2D BlurBuffer;
 uniform sampler2D OriginBuffer;
 #endif
@@ -77,7 +81,7 @@ void main()
         wtsum += wt * 2.0;
     }
 
-    gl_FragColor = (value / wtsum);
-    gl_FragColor.a = 1.0;
+    fragColor = (value / wtsum);
+    fragColor.a = 1.0;
 
 }
diff --git a/src/imports/materiallib/shaders/frostedThinGlassPreBlur.frag b/src/imports/materiallib/shaders/frostedThinGlassPreBlur.frag
index 46a928737be2ed4e978364324a35a62589ca9731..f3cae9737f557ac4218fefc25a421b8b99a02b54 100644
--- a/src/imports/materiallib/shaders/frostedThinGlassPreBlur.frag
+++ b/src/imports/materiallib/shaders/frostedThinGlassPreBlur.frag
@@ -38,12 +38,16 @@ vec3 texCoord0;
 /*{
   "uniforms": [
       { "type": "sampler2D", "name": "OriginBuffer" }
+  ],
+  "outputs": [
+    { "stage": "fragment", "type": "vec4", "name": "fragColor" }
   ]
 }*/
 #endif
 
 // The following enables functioning with the direct OpenGL rendering path. To be removed.
 #if !QSSG_ENABLE_RHI
+out vec4 fragColor;
 uniform sampler2D OriginBuffer;
 #endif
 
@@ -69,5 +73,5 @@ void main()
     }
 
     totSum /= wtSum;
-    gl_FragColor = totSum;
+    fragColor = totSum;
 }