diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2021-12-25 07:50:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-25 07:50:14 +0100 |
commit | 7ebc8e1bd33b6658b50153a26945814a87fba5f4 (patch) | |
tree | 51d377a4560a7e12b3b404b0b043d9f64981caf3 /cwd/assets/altcraft/ui | |
parent | Merge pull request #77 from LaG1924/ftr/graphics-abstraction-layer (diff) | |
parent | Added smooth lighting settings parameter (diff) | |
download | AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.gz AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.bz2 AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.lz AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.xz AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.zst AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.zip |
Diffstat (limited to 'cwd/assets/altcraft/ui')
-rw-r--r-- | cwd/assets/altcraft/ui/options-styles.rcss | 4 | ||||
-rw-r--r-- | cwd/assets/altcraft/ui/options.rml | 32 |
2 files changed, 30 insertions, 6 deletions
diff --git a/cwd/assets/altcraft/ui/options-styles.rcss b/cwd/assets/altcraft/ui/options-styles.rcss index fbfc685..13c20d2 100644 --- a/cwd/assets/altcraft/ui/options-styles.rcss +++ b/cwd/assets/altcraft/ui/options-styles.rcss @@ -5,7 +5,7 @@ form { width: 70%; display: block; - margin: 5% auto; + margin: 1% auto; background-color: #211710; } @@ -80,5 +80,5 @@ input.range sliderarrowinc { width: 45%; height: 8%; position: fixed; - margin: 5% auto auto; + margin: 0% auto auto; } diff --git a/cwd/assets/altcraft/ui/options.rml b/cwd/assets/altcraft/ui/options.rml index 485dcba..4529487 100644 --- a/cwd/assets/altcraft/ui/options.rml +++ b/cwd/assets/altcraft/ui/options.rml @@ -8,9 +8,15 @@ <body class="body-options"> <form> <div class="option"> - <label>Brightness</label> - <input type="range" min="0.0" max="1.0" step="0.01" id="brightness" /> - <span id="brightness-val"></span> + <label>Gamma</label> + <input type="range" min="1.0" max="3.0" step="0.1" id="gamma" /> + <span id="gamma-val"></span> + </div> + + <div class="option"> + <label>Deffered shading</label> + <input type="checkbox" id="deffered" /> + <span id="deffered-val"></span> </div> <div class="option"> @@ -54,7 +60,25 @@ <input type="checkbox" id="wireframe" /> <span id="wireframe-val"></span> </div> - + + <div class="option"> + <label>Smooth lighting</label> + <input type="checkbox" id="smoothlight" /> + <span id="smoothlight-val"></span> + </div> + + <div class="option"> + <label>Ambient occlusion quality</label> + <input type="range" min="0" max="64" step="4" id="ssaoSamples" /> + <span id="ssaoSamples-val"></span> + </div> + + <div class="option"> + <label>Ambient occlusion scale</label> + <input type="range" min="0.05" max="2.0" step="0.05" id="ssaoScale" /> + <span id="ssaoScale-val"></span> + </div> + </form> <button class="mc-button" id="done" onclick="CloseOptions(document)">Done</button> </body> |