Skip to content

Commit 6642082

Browse files
committed
chore(obs): update documentation following changes
1 parent eb16ce4 commit 6642082

File tree

3 files changed

+43
-33
lines changed

3 files changed

+43
-33
lines changed

obs/README.md

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ many benefits applied on desktop capture.
1616
# Requirements
1717

1818
- This has been developed on OBS `28.1.2` for Windows but should work for lower
19-
versions, and other operating systems.
19+
and upper versions, and other operating systems.
2020

2121
- Nothing more than the content of this directory.
2222

@@ -36,50 +36,54 @@ The script is now active. A new filter has been created :
3636

3737
1. Go to your Scene/Source where you want to add the AgX filter and select it (the source)
3838
2. Click on the `Filters` button that should be a bit above the source.
39-
3. In the **Effect Filters** section, click the `+` button and choose AgX
39+
3. In the **Effect Filters** section, click the `+` button and choose `AgX`
4040

4141
All done ! You can now configure it.
4242

4343
# Configuration
4444

4545
![screenshot of OBS interface while in the Filters section](doc/img/obs-filter-options.png)
4646

47-
> ![NOTE]
47+
> [!IMPORTANT]
4848
> Reminder that AgX being a display transform it should be placed at
4949
> **the very end** of the image processing chain (= at the bottom in OBS).
5050
5151
The camera/video-source and your lighting setup will affect how much you need
5252
to tweak the parameters. There is no setup that work for all cases, but once
5353
configured for your camera/usual lighting, you should not need to touch it anymore.
5454

55-
## Recommended Options
55+
## Guidelines
5656

57-
I recommend to always start by :
58-
59-
- boosting the `Grading Exposure` by +1.0 stop.
60-
- boosting `Highligh Gain` by 2.0
57+
I recommend to :
58+
- `Pre-Grading`
59+
- boosting the `Grading Exposure` by +1.0 stop if you are in a dim environment.
60+
- boosting `Highligh Gain` by 2.0 (always better)
61+
- `White Balance`: `intensity` at 1.0 and use `tint` ~10.0 if your camera tend to
62+
have to produce pinkish tones (noticable on skin).
6163

6264
## Available Options
6365

6466
### Input Colorspace
6567

6668
Pick in which colorspace your source is encoded.
6769

68-
Passthrough means no decoding is applied.
70+
`Passthrough` means no decoding is applied.
6971

7072
### Output Colorspace
7173

7274
Target colorspace encoding. Must correspond to your monitor calibration.
7375

74-
> ![NOTE]
76+
> [!TIP]
7577
> You can request adding new colorspace by opening an issue on GitHub !
7678
7779
### DRT
7880

7981
Pick the DRT to use. Technically here we could include other DRT than AgX.
80-
But for now only None and AgX are available.
82+
But for now only None and AgX (with 2 variants) are available.
8183

82-
`None` will not apply AgX but still allow you to use the grading options.
84+
- `None` will not apply AgX but still allow you to use the grading options.
85+
- `AgX w/Outset` is AgX but with an additional transform to restore chroma. This
86+
can reintroduce shift and skews but might be acceptable.
8387

8488

8589
### Pre-Grading/...
@@ -96,7 +100,7 @@ Power function. 1.0 = neutral.
96100

97101
### Grading/Saturation
98102

99-
Saturation based on BT.709 coeff. 1.0 = neutral.
103+
Saturation with coefficient based on the working color-space. 1.0 = neutral.
100104

101105
### Grading/Highlight Gain
102106

@@ -109,32 +113,38 @@ via `Highlight Gain Threshold`.
109113

110114
See above.
111115

112-
### Post-Grading/...
116+
### Grading/White-Balance
113117

114-
Grading modifications applied after AgX on display encoded data. This will
115-
introduce skews, clipping and other artefacts.
118+
Shift white tones, applied before all operations.
119+
120+
- `Temperature`: in Kelvin. Lower=warmer, higher=colder.
121+
- `Tint`: shift the temperature: >0=greener, <0=pinker
122+
- `Intensity`: global multiplier for the effect. 0=disabled.
116123

117-
Not recommended to use or with very small values.
124+
The most "neutral values" when `Intensity` is 1.0 are `Temperature`=`~5600` and
125+
`Tint`=`~-15.5` which try to match the Illuminant E (those neutral values are not
126+
ideal and perhaps the white-balance implementation could be improved)
118127

119-
### Debug/Use OCIO Log Transform
128+
![Close up diagram of the CIE 1960 UCS with the planckian locus iso lines visble](https://upload.wikimedia.org/wikipedia/commons/d/d7/Planckian-locus.png)
120129

121-
Switch to use the HLSL transform being an exact match to the OCIO `log2Transform`.
122130

123-
Does not create any change visually.
131+
### Post-Grading/...
124132

125-
### Debug/Apply Outset
133+
Grading modifications applied after AgX on display encoded data. This will
134+
introduce skews, clipping and other artefacts.
126135

127-
Not originally included in the first AgX version but should be in the future.
128-
Restore chroma and avoid having to use Punchy saturation.
129-
Might bring back some hue skews so better left off.
136+
Not recommended to use or with very small values, but can help achieve a stronger
137+
artistic look.
138+
139+
All parameters are described the same as for the Pre-Grading section.
130140

131141
### Debug/CAT Method
132142

133-
Chromatic Adaptation Transform method to chose for whitepoint conversion.
143+
Chromatic Adaptation Transform method to chose for whitepoint conversion (when
144+
there is a whitepoint conversion between input and output colorspace.)
134145

135146
Default is Bradford and doesn't need to be changed.
136147

137-
138148
# Developer
139149

140150
Developer documentation can be found in [doc/DEV.md](doc/DEV.md).

obs/doc/DEV.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Introduction.
44

55
- `AgX.lua` : direct interface with OBS used for building the GUI
6-
- `AgX.hlsl` : GPU shader with the actual AgX code.
7-
- `colorspace.hlsl` : side-library imported in `AgX.hlsl`
8-
- this is actually the public interface of the `colorscience/` "package".
9-
- `colorscience/` library of hlsl modules for color manipulation. some of the modules
10-
are code-generated and not intended to be edited directly. Directly editable modules are :
11-
- `math.hlsl`
12-
- `cctf.hlsl`
6+
- `AgX.hlsl` : top-level GPU shader used in the lua script.
7+
8+
With that you will find additional hlsl modules that are all imported in `AgX.hlsl` :
9+
10+
- `lib_colorscience.hlsl`: library of hlsl modules for color manipulation
11+
- `_lib_colorscience/`: some of the modules are procedurally-generated and not
12+
intended to be edited directly (see header comment).
1313

1414
The "procedurally" generated code can be found in the [../src/](../src) directory.
1515

obs/doc/img/obs-filter-options.png

7.18 KB
Loading

0 commit comments

Comments
 (0)