mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Add half_float to omwfx.rst
This commit is contained in:
parent
fc2f30dc4a
commit
f9bbbecfab
@ -575,7 +575,7 @@ color buffer will accumulate.
|
|||||||
height = 4;
|
height = 4;
|
||||||
source_format = rgb;
|
source_format = rgb;
|
||||||
internal_format = rgb16f;
|
internal_format = rgb16f;
|
||||||
source_type = float;
|
source_type = half_float;
|
||||||
clear_color = vec4(0,0,0,1);
|
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;
|
mipmaps = true;
|
||||||
source_format = rgb;
|
source_format = rgb;
|
||||||
internal_format = rgb16f;
|
internal_format = rgb16f;
|
||||||
source_type = float;
|
source_type = half_float;
|
||||||
min_filter = linear_mipmap_linear;
|
min_filter = linear_mipmap_linear;
|
||||||
mag_filter = linear;
|
mag_filter = linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
render_target RT_LumAvg {
|
render_target RT_LumAvg {
|
||||||
source_type = float;
|
source_type = half_float;
|
||||||
source_format = rgb;
|
source_format = rgb;
|
||||||
internal_format = rgb16f;
|
internal_format = rgb16f;
|
||||||
min_filter = nearest;
|
min_filter = nearest;
|
||||||
@ -629,7 +629,7 @@ Below is an example which calculates a naive average scene luminance and transit
|
|||||||
}
|
}
|
||||||
|
|
||||||
render_target RT_LumAvgLastFrame {
|
render_target RT_LumAvgLastFrame {
|
||||||
source_type = float;
|
source_type = half_float;
|
||||||
source_format = rgb;
|
source_format = rgb;
|
||||||
internal_format = rgb16f;
|
internal_format = rgb16f;
|
||||||
min_filter = nearest;
|
min_filter = nearest;
|
||||||
@ -927,6 +927,8 @@ Types
|
|||||||
+--------------------+-----------------------+
|
+--------------------+-----------------------+
|
||||||
| float | GL_FLOAT |
|
| float | GL_FLOAT |
|
||||||
+--------------------+-----------------------+
|
+--------------------+-----------------------+
|
||||||
|
| half_float | GL_HALF_FLOAT |
|
||||||
|
+--------------------+-----------------------+
|
||||||
| double | GL_DOUBLE |
|
| double | GL_DOUBLE |
|
||||||
+--------------------+-----------------------+
|
+--------------------+-----------------------+
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user