1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

Merge branch 'half_float_docs' into 'master'

Add half_float to the post processing documentation

See merge request OpenMW/openmw!4283
This commit is contained in:
psi29a 2024-07-30 08:14:17 +00:00
commit 317aee134f
3 changed files with 9 additions and 7 deletions

View File

@ -67,7 +67,7 @@ This setting can either be activated in the OpenMW launcher, in-game, or changed
::
[Post Processing]
enabled = false
enabled = true
Variables.

View File

@ -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 |
+--------------------+-----------------------+

View File

@ -35,8 +35,8 @@ DisplayDepthFactorDescription: "Determines correlation between pixel depth value
DisplayDepthName: "Visualize Depth Buffer"
DisplayNormalsName: "Visualize Pass Normals"
NormalsInWorldSpace: "Show Normals in World Space"
ContrastLevelDescription: "Constrast level."
ContrastLevelName: "Constrast"
ContrastLevelDescription: "Contrast level."
ContrastLevelName: "Contrast"
GammaLevelDescription: "Gamma level."
GammaLevelName: "Gamma"
StrengthLevelName: "Strength"