Skip to content

Commit 88c8d3d

Browse files
committed
Document SSR not working with SCREEN_TEXTURE/DEPTH_TEXTURE (#6382)
closes godotengine/godot#44339
1 parent 7299355 commit 88c8d3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tutorials/3d/environment_and_post_processing.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,9 @@ A few user-controlled parameters are available to better tweak the technique:
241241
- **Depth Tolerance** can be used for screen-space-ray hit tolerance to gaps. The bigger the value, the more gaps will be ignored.
242242
- **Roughness** will apply a screen-space blur to approximate roughness in objects with this material characteristic.
243243

244-
Keep in mind that screen-space-reflections only work for reflecting opaque geometry. Transparent objects can't be reflected.
244+
Keep in mind that screen-space-reflections only work for reflecting opaque
245+
geometry. Transparent materials won't be reflected, as they don't write to the depth buffer.
246+
This also applies to shaders that use ``SCREEN_TEXTURE`` or ``DEPTH_TEXTURE``.
245247

246248
Screen-Space Ambient Occlusion (SSAO)
247249
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)