소스 검색

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.
 - **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)
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^