Преглед на файлове

Document SSR not working with `SCREEN_TEXTURE`/`DEPTH_TEXTURE` (#6382)

closes https://github.com/godotengine/godot/issues/44339
Hugo Locurcio преди 2 години
родител
ревизия
dc48722352
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      tutorials/3d/environment_and_post_processing.rst

+ 3 - 1
tutorials/3d/environment_and_post_processing.rst

@@ -241,7 +241,9 @@ A few user-controlled parameters are available to better tweak the technique:
 - **Depth Tolerance** can be used for screen-space-ray hit tolerance to gaps. The bigger the value, the more gaps will be ignored.
 - **Depth Tolerance** can be used for screen-space-ray hit tolerance to gaps. The bigger the value, the more gaps will be ignored.
 - **Roughness** will apply a screen-space blur to approximate roughness in objects with this material characteristic.
 - **Roughness** will apply a screen-space blur to approximate roughness in objects with this material characteristic.
 
 
-Keep in mind that screen-space-reflections only work for reflecting opaque geometry. Transparent objects can't be reflected.
+Keep in mind that screen-space-reflections only work for reflecting opaque
+geometry. Transparent materials won't be reflected, as they don't write to the depth buffer.
+This also applies to shaders that use ``SCREEN_TEXTURE`` or ``DEPTH_TEXTURE``.
 
 
 Screen-Space Ambient Occlusion (SSAO)
 Screen-Space Ambient Occlusion (SSAO)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^