diff options
author | Graham Linden <graham@lindenlab.com> | 2019-05-23 09:58:33 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-05-23 09:58:33 -0700 |
commit | d0a0eede63fdbd4ba597b86cbfbeb5b394ed2395 (patch) | |
tree | b84761e659eb528695b781cd973192c4b43634f1 /indra/newview/skins/default/xui/en | |
parent | 360b3230bbfbda7988eee84a8ed04fa1696ca70a (diff) |
Add render debug controls for forcing disable of ambient, sun, and local light contributions
(engages AMBIENT_KILL, SUNLIGHT_KILL, and LOCAL_LIGHT_KILL defines in shaders to accomplish
those tasks as required by each render mode).
Diffstat (limited to 'indra/newview/skins/default/xui/en')
-rw-r--r-- | indra/newview/skins/default/xui/en/menu_viewer.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index 8aa2c8d931..d9b06347ca 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -2951,6 +2951,36 @@ function="ToggleControl" parameter="TextureDisable" /> </menu_item_check> + <menu_item_check + label="Disable Ambient" + name="Disable Ambient"> + <menu_item_check.on_check + function="CheckControl" + parameter="AmbientDisable" /> + <menu_item_check.on_click + function="ToggleShaderControl" + parameter="AmbientDisable" /> + </menu_item_check> + <menu_item_check + label="Disable Sunlight" + name="Disable Sunlight"> + <menu_item_check.on_check + function="CheckControl" + parameter="SunlightDisable" /> + <menu_item_check.on_click + function="ToggleShaderControl" + parameter="SunlightDisable" /> + </menu_item_check> + <menu_item_check + label="Disable Local Lights" + name="Disable Local Lights"> + <menu_item_check.on_check + function="CheckControl" + parameter="LocalLightDisable" /> + <menu_item_check.on_click + function="ToggleShaderControl" + parameter="LocalLightDisable" /> + </menu_item_check> <menu_item_check label="Full Res Textures" name="Rull Res Textures"> |