From f9bbbecfab8e06654cbc9dd59346d863298b06cf Mon Sep 17 00:00:00 2001 From: Abdu Sharif <5681921-AbduSharif@users.noreply.gitlab.com> Date: Sun, 28 Jul 2024 22:29:50 +0000 Subject: [PATCH] Add half_float to omwfx.rst --- docs/source/reference/postprocessing/omwfx.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/source/reference/postprocessing/omwfx.rst b/docs/source/reference/postprocessing/omwfx.rst index f9335e5c88..e5246bec8e 100644 --- a/docs/source/reference/postprocessing/omwfx.rst +++ b/docs/source/reference/postprocessing/omwfx.rst @@ -575,7 +575,7 @@ color buffer will accumulate. height = 4; source_format = rgb; internal_format = rgb16f; - source_type = float; + source_type = half_float; clear_color = vec4(0,0,0,1); } @@ -615,13 +615,13 @@ Below is an example which calculates a naive average scene luminance and transit mipmaps = true; source_format = rgb; internal_format = rgb16f; - source_type = float; + source_type = half_float; min_filter = linear_mipmap_linear; mag_filter = linear; } render_target RT_LumAvg { - source_type = float; + source_type = half_float; source_format = rgb; internal_format = rgb16f; min_filter = nearest; @@ -629,7 +629,7 @@ Below is an example which calculates a naive average scene luminance and transit } render_target RT_LumAvgLastFrame { - source_type = float; + source_type = half_float; source_format = rgb; internal_format = rgb16f; min_filter = nearest; @@ -927,6 +927,8 @@ Types +--------------------+-----------------------+ | float | GL_FLOAT | +--------------------+-----------------------+ +| half_float | GL_HALF_FLOAT | ++--------------------+-----------------------+ | double | GL_DOUBLE | +--------------------+-----------------------+