summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-05-24 10:34:47 -0500
committerDave Parks <davep@lindenlab.com>2022-05-24 10:34:47 -0500
commit0940e8871894e08da80730d11c31cbd252a05b35 (patch)
treea73b1ce8c7539c0c71d3eb4670e77311507a56f0 /indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
parent6eaf8521abae0deeb1162f9c61747183110176b0 (diff)
SL-17472 Add checkbox to preferences for enabling "PBR" that uses "class3" deferred shaders. Move reflection probe shaders to class3 and restore class2 shaders to non-reflection probe versions.
Diffstat (limited to 'indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml')
-rw-r--r--indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
index 5aff7a5127..90bb45d1bc 100644
--- a/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_graphics1.xml
@@ -258,7 +258,21 @@
<check_box.commit_callback
function="Pref.RenderOptionUpdate" />
</check_box>
-
+
+ <check_box
+ control_name="RenderPBR"
+ height="16"
+ initial_value="true"
+ label="Physically Based Rendering"
+ layout="topleft"
+ left="30"
+ name="UsePBRShaders"
+ top_delta="24"
+ width="256">
+ <check_box.commit_callback
+ function="Pref.RenderOptionUpdate" />
+ </check_box>
+
<slider
control_name="IndirectMaxComplexity"
tool_tip="Controls at what point a visually complex avatar is drawn as a JellyDoll"
@@ -274,7 +288,7 @@
max_val="101"
name="IndirectMaxComplexity"
show_text="false"
- top_delta="60"
+ top_delta="36"
width="300">
<slider.commit_callback
function="Pref.UpdateIndirectMaxComplexity"