Browse Source

Fix compile error in advanced_postprocessing.rst

tetrapod00 11 tháng trước cách đây
mục cha
commit
f48748a05c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tutorials/shaders/advanced_postprocessing.rst

+ 1 - 1
tutorials/shaders/advanced_postprocessing.rst

@@ -47,7 +47,7 @@ and sets the vertex position in clip space directly.
 
   shader_type spatial;
   // Prevent the quad from being affected by lighting and fog. This also improves performance.
-  render_mode unshaded, disable_fog;
+  render_mode unshaded, fog_disabled;
 
   void vertex() {
     POSITION = vec4(VERTEX.xy, 1.0, 1.0);