Parcourir la source

Merge pull request #9764 from tetrapod00/fog-disabled-advanced-postprocessing

Fix compile error in advanced_postprocessing.rst
Matthew il y a 11 mois
Parent
commit
f3beeb7ca0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
   shader_type spatial;
   // Prevent the quad from being affected by lighting and fog. This also improves performance.
   // 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() {
   void vertex() {
     POSITION = vec4(VERTEX.xy, 1.0, 1.0);
     POSITION = vec4(VERTEX.xy, 1.0, 1.0);