mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-23 00:10:03 +00:00
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
**Autocrop**:
|
|
Clears solid bars around the frame.
|
|
|
|
Autocrop maximum amount:
|
|
The higher, the more solid borders wil be cropped around the image.
|
|
0.3 means 30%
|
|
|
|
Number of mandatory lines to crop:
|
|
The minimum lines to always crop; this is useful because sometimes
|
|
games have one or two "spurious" lines at the very edge of the screen that
|
|
won't allow autocrop to work at all.
|
|
This can be used to ignore them.
|
|
|
|
Samples per frame:
|
|
Higher values makes the shader search more in a single frame for solid areas.
|
|
This leads to more accurate result in less time, however it will also stress the gpu more.
|
|
Fortunately even low/lighter values like 10 will work good if you're ok
|
|
in waiting 2..3 seconds for the final crop value to be found.
|
|
|
|
Sample size:
|
|
Search multiple pixels at once, this provide a big performance boost, but less accuracy.
|
|
It means that some solid bar could remain around the image.
|
|
|
|
Scene change treshold
|
|
When autocrop finds a maximum crop value, it only tries to crop more when the scene changes.
|
|
By lowering this value, you tell the shader to try higher the crop more often.
|
|
Use 0.0 is probably useful only to trigger a new search.
|
|
|
|
Transition speed
|
|
This modulates the smoothness of the animation between various crop values. |