Skip to content

Commit 1c89a64

Browse files
authored
Update README.md
Update docs and notify the user to enable the option "Enable GPU Acceleration (For NVIDIA CUDA Enabled GPUs only)" (recommended for higher performance)
1 parent 80150bd commit 1c89a64

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,23 @@ Using GlassCode with blur effect set to high
2222
3. It is recommended to use the high contrast theme for the best result or at lest any dark theme.
2323
My suggestion is to enable the high contrast theme
2424

25+
26+
27+
## Super important!
28+
To get high performance, go to: File->Settings
29+
And make sure you enabled "Enable GPU Acceleration (For NVIDIA CUDA Enabled GPUs only)"
30+
![image](https://user-images.githubusercontent.com/17680514/116011605-a1e86300-a62e-11eb-9e01-fef23b162160.png)
31+
This option will work only for NVIDIA GPUs
32+
33+
Otherwise, you may have to reduce the screen resolution to maximum 1920x1080 because the effect may not work fast enough without GPU Acceleration.
34+
35+
If you think that you can optimize the performance for CPU (without GPU Acceleration), feel free to design a better algorithm here:
36+
https://github.com/gileli121/GlassCode/blob/80150bd18be2118cfde4b3943950ba65d8746dc8/CPP/process_layer_cpu.cpp#L690
37+
Replace this function with your faster algorithm and submit PR.
38+
The function is responsible for detecting the texts(or any shapes...) so that when the opacity applied, the opacity will not include the texts
39+
40+
41+
2542
## How to use
2643
Currently, the only way to use this plugin is to click on the GlassCode tab here:
2744

0 commit comments

Comments
 (0)