diff options
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> |