summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-12-06 09:59:30 -0600
committerDave Parks <davep@lindenlab.com>2022-12-06 09:59:30 -0600
commitc489481ec5edd0470553eca9b7c4cecfe994926c (patch)
tree4f93b57597f0d0864e23216abe753e531623906e /indra/newview/skins/default
parent3ec5110129ffd29d8e76eb82e31da7470e281503 (diff)
SL-18785 Fix for corrupt reflection probes on various preference changes. Add UI for Screen Space Reflections.
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r--indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml42
1 files changed, 34 insertions, 8 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml b/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
index 75b50c0e39..8ce365878a 100644
--- a/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
+++ b/indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml
@@ -647,32 +647,58 @@
name="2"
value="2"/>
</combo_box>
+
+ <check_box
+ control_name="RenderReflectionsEnabled"
+ height="16"
+ initial_value="true"
+ label="Reflections (requires restart)"
+ layout="topleft"
+ left="420"
+ name="ReflectionsEnabled"
+ top_delta="16"
+ width="240">
+ <check_box.commit_callback
+ function="Pref.RenderOptionUpdate" />
+ </check_box>
+
+ <check_box
+ control_name="RenderScreenSpaceReflections"
+ height="16"
+ initial_value="true"
+ label="Screen Space Reflections"
+ layout="topleft"
+ left="440"
+ name="ScreenSpaceReflections"
+ top_delta="16"
+ width="240">
+ <check_box.commit_callback
+ function="Pref.RenderOptionUpdate" />
+ </check_box>
+
<text
type="string"
length="1"
follows="left|top"
height="16"
layout="topleft"
- left="420"
- name="RenderReflectionDetailText"
+ left="440"
+ name="ReflectionDetailText"
text_readonly_color="LabelDisabledColor"
top_delta="16"
width="128">
- Reflections:
+ Reflection Detail:
</text>
+
<combo_box
control_name="RenderReflectionProbeDetail"
height="18"
layout="topleft"
- left_delta="130"
+ left_delta="110"
top_delta="0"
name="ReflectionDetail"
width="150">
<combo_box.item
- label="Disabled"
- name="0"
- value="-1"/>
- <combo_box.item
label="Static Only"
name="0"
value="0"/>