diff --git a/Video/graphics-properties.xml b/Video/graphics-properties.xml
index 2582ae559..26898ad87 100644
--- a/Video/graphics-properties.xml
+++ b/Video/graphics-properties.xml
@@ -19,10 +19,9 @@ particular list.
-
+
/sim/rendering/shaders/skydome
/sim/rendering/shaders/use-shaders
-
/sim/rendering/shaders/landmass
/sim/rendering/shaders/transition
/sim/rendering/shaders/model
@@ -30,6 +29,8 @@ particular list.
/sim/rendering/shaders/clouds
/sim/rendering/shaders/wind-effects
/sim/rendering/shaders/vegetation-effects
+ /sim/rendering/multi-sample-buffers
+ /sim/rendering/multi-samples
/sim/rendering/shadows/enabled
/sim/rendering/shadows/sun-atlas-size
@@ -84,6 +85,8 @@ particular list.
+ /sim/rendering/multi-sample-buffers
+ /sim/rendering/multi-samples
diff --git a/Video/high-quality-preset.xml b/Video/high-quality-preset.xml
index c63fe4f15..21e69abe9 100644
--- a/Video/high-quality-preset.xml
+++ b/Video/high-quality-preset.xml
@@ -20,6 +20,8 @@
2
0
+ true
+ 4
true
4096
diff --git a/Video/low-quality-preset.xml b/Video/low-quality-preset.xml
index 889e1a65f..ff0d6acd7 100644
--- a/Video/low-quality-preset.xml
+++ b/Video/low-quality-preset.xml
@@ -20,6 +20,8 @@
0
0
+ false
+ 0
true
1024
diff --git a/Video/medium-quality-preset.xml b/Video/medium-quality-preset.xml
index d4ee6e9d0..b4965eb72 100644
--- a/Video/medium-quality-preset.xml
+++ b/Video/medium-quality-preset.xml
@@ -20,6 +20,8 @@
2
0
+ true
+ 2
true
2048
diff --git a/Video/minimal-quality-preset.xml b/Video/minimal-quality-preset.xml
index e729c1d68..62a16344c 100644
--- a/Video/minimal-quality-preset.xml
+++ b/Video/minimal-quality-preset.xml
@@ -20,6 +20,8 @@
0
0
+ false
+ 0
false
1024
diff --git a/Video/ultra-quality-preset.xml b/Video/ultra-quality-preset.xml
index 30da262af..683c2c15c 100644
--- a/Video/ultra-quality-preset.xml
+++ b/Video/ultra-quality-preset.xml
@@ -20,6 +20,8 @@
2
1
+ true
+ 8
true
8192
diff --git a/defaults.xml b/defaults.xml
index 35102ee17..9dba5d495 100644
--- a/defaults.xml
+++ b/defaults.xml
@@ -54,6 +54,8 @@ Started September 2000 by David Megginson, david@megginson.com
false
Materials/regions/materials.xml
+ false
+ 0
false
2048
diff --git a/gui/dialogs/advanced-graphics-options.xml b/gui/dialogs/advanced-graphics-options.xml
index 3a117846d..972de19f6 100644
--- a/gui/dialogs/advanced-graphics-options.xml
+++ b/gui/dialogs/advanced-graphics-options.xml
@@ -54,7 +54,7 @@
hbox
-
+
left
@@ -62,6 +62,20 @@
+
+ left
+
+
+
+
+
+ vbox
+ 1
+
+
+
+
+
hbox
left
@@ -125,7 +139,7 @@
fill
true
400
- 80
+ 90
15
false
true
@@ -169,7 +183,7 @@
fill
true
400
- 100
+ 110
15
false
true
@@ -178,19 +192,22 @@
/sim/gui/dialogs/advanced/als-description
-
- hbox
-
-
+
+
+
+
+
/sim/rendering/shaders/skydome
-
-
- left
-
-
- true
-
-
+
+
+ left
+
+ 1.0
+ 0.6
+ 0.6
+
+
+
table
@@ -430,22 +447,48 @@
-
+
+ 7
+ 0
+ left
+
+
+
+ 7
+ 1
+ anti-aliasing
+ 200
+ /sim/gui/dialogs/advanced/anti-aliasing
+ Disabled
+ MSAA 2x
+ MSAA 4x
+ MSAA 8x
+
+ dialog-apply
+ anti-aliasing
+
+
+ nasal
+
+
+
-
-
-
- /sim/rendering/shaders/skydome
-
-
- left
-
- 1.0
- 0.6
- 0.6
-
-
-
+
vbox
@@ -1206,7 +1249,7 @@
"rendering of large distances. It is recommended to run this " ~
"configuration on relatively powerful hardware.");
- # Render Mode
+ # General
if (getprop("/sim/rendering/shaders/skydome")) {
setprop("/sim/gui/dialogs/advanced/mode/low-spec-mode", 0);
setprop("/sim/gui/dialogs/advanced/mode/als-mode", 1);
@@ -1215,8 +1258,6 @@
setprop("/sim/gui/dialogs/advanced/mode/als-mode", 0);
}
- # ALS Shader Settings
-
var landmass_val = getprop("/sim/rendering/shaders/landmass");
if (landmass_val <= 3) {
setprop("/sim/gui/dialogs/advanced/terrain-quality", "Low");
@@ -1265,6 +1306,17 @@
setprop("/sim/gui/dialogs/advanced/overlay", "Enabled");
}
+ var anti_aliasing_val = getprop("/sim/rendering/multi-samples");
+ if (anti_aliasing_val == 2) {
+ setprop("/sim/gui/dialogs/advanced/anti-aliasing", "MSAA 2x");
+ } else if (anti_aliasing_val == 4) {
+ setprop("/sim/gui/dialogs/advanced/anti-aliasing", "MSAA 4x");
+ } else if (anti_aliasing_val == 8) {
+ setprop("/sim/gui/dialogs/advanced/anti-aliasing", "MSAA 8x");
+ } else {
+ setprop("/sim/gui/dialogs/advanced/anti-aliasing", "Disabled");
+ }
+
# Shadows
if (getprop("/sim/rendering/shadows/enabled")) {
var size = getprop("/sim/rendering/shadows/sun-atlas-size");