improve defaults
This commit is contained in:
parent
f1ca83c973
commit
64835dbf3c
2 changed files with 8 additions and 8 deletions
14
README.md
14
README.md
|
@ -1,12 +1,12 @@
|
||||||
1. Clone this repo:
|
1. Clone this repo:
|
||||||
```
|
```
|
||||||
git clone https://git.m724.eu/Minecon724/enhancer
|
git clone https://git.m724.eu/Minecon724/enhancer
|
||||||
```
|
```
|
||||||
2. Open `main.c` and take a look at the settings, defaults are fine
|
2. Open `main.c` and take a look at the settings, defaults are fine
|
||||||
3. Compile: (you must do this after every change of settings)
|
3. Compile: (you must do this after every change of settings)
|
||||||
```
|
```
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
4. Done, you should see `enhancer` in the main directory
|
4. Done, you should see `enhancer` in the main directory
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
@ -19,4 +19,4 @@ To build a debug binary: (you don't need this unless you do)
|
||||||
make debug
|
make debug
|
||||||
```
|
```
|
||||||
|
|
||||||
Just so I don't forget, I wanted to *make* a *make* sure `make` is installed joke but I rearranged things and it doesn't fit (*make* sense)
|
Ignore warnings from `stb_image`
|
||||||
|
|
2
main.c
2
main.c
|
@ -18,7 +18,7 @@
|
||||||
the higher value the less effect it has
|
the higher value the less effect it has
|
||||||
so when I say "reduce strength" I mean "increase the value"
|
so when I say "reduce strength" I mean "increase the value"
|
||||||
*/
|
*/
|
||||||
#define VIBRANCE_STRENGTH 1.1
|
#define VIBRANCE_STRENGTH 1.5
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if a pixel goes below 0% or above 100% basically subtract the difference
|
if a pixel goes below 0% or above 100% basically subtract the difference
|
||||||
|
|
Loading…
Reference in a new issue