Documentation of maximumShaderMode in console script.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3346 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
acf9dda258
commit
2474ea35a4
@ -51,11 +51,19 @@ shaderMode : String (read/write)
|
||||
"SHADERS_FULL"
|
||||
If it is SHADERS_NOT_SUPPORTED, it cannot be set to any other value. If it
|
||||
is not SHADERS_NOT_SUPPORTED, it can be set to SHADERS_OFF, SHADERS_SIMPLE
|
||||
or SHADERS_FULL. As of Oolite 1.74, these changes take effect immediately.
|
||||
or SHADERS_FULL, unless maximumShaderMode (see below) is SHADERS_SIMPLE,
|
||||
in which case SHADERS_FULL is not allowed. As of Oolite 1.74, these
|
||||
changes take effect immediately.
|
||||
|
||||
NOTE: this is equivalent to oolite.gameSettings.shaderEffectsLevel, which
|
||||
is available even when the debug console is not active, but is read-only.
|
||||
|
||||
maximumShaderMode: String (read-only)
|
||||
A string specifying the fanciest available shader mode. One of the following:
|
||||
"SHADERS_NOT_SUPPORTED"
|
||||
"SHADERS_SIMPLE"
|
||||
"SHADERS_FULL"
|
||||
|
||||
displayFPS : Boolean (read/write)
|
||||
Boolean specifying whether FPS (and associated information) should be
|
||||
displayed.
|
||||
|
@ -5,7 +5,7 @@
|
||||
default_shader_level Shader level used if user hasn't made a choice.
|
||||
Default: "SHADERS_FULL". Possible values:
|
||||
"SHADERS_OFF", "SHADERS_SIMPLE", "SHADERS_FULL".
|
||||
maximum_shader_level Maximum permitted shader level. SAme values as
|
||||
maximum_shader_level Maximum permitted shader level. Same values as
|
||||
above. Default: "SHADERS_FULL". If set to
|
||||
"SHADERS_OFF", shaders are treated as not
|
||||
available.
|
||||
@ -19,8 +19,10 @@
|
||||
"vendor", "renderer", "version" and "extensions". These are displayed
|
||||
near the top of the log by default. Note that "version" here refers to
|
||||
the full version string (shown in parentheses). The "extension" string
|
||||
used for matches is space-separated (no commas as in the log). Multiple
|
||||
regexps may be specified as an array, in which case all must match.
|
||||
used for matches is space-separated (no commas as in the log), and
|
||||
extension strings may occur in any order.
|
||||
Multiple regexps may be specified as an array, in which case all must
|
||||
match.
|
||||
Any backslashes in regexps must be escaped (i.e., doubled); see the
|
||||
"renderer" test for Intel GMA 9xx for an example.
|
||||
*/
|
||||
@ -30,7 +32,7 @@
|
||||
match =
|
||||
{
|
||||
vendor = "NVIDIA";
|
||||
renderer = "GeForce.*5200|NV34MAP"; // "GeForce<anything>5200" or "NV34MAP".
|
||||
renderer = "GeForce.*5200|NV34MAP"; // "GeForce<anything>5200" or "NV34MAP".
|
||||
};
|
||||
default_shader_level = "SHADERS_SIMPLE";
|
||||
},
|
||||
@ -41,7 +43,7 @@
|
||||
vendor = "Intel";
|
||||
renderer = "GMA.*9\\d\\d(?!\\d)"; // GMA<anything>9##, but not 9###.
|
||||
};
|
||||
maximum_shader_level = "SHADERS_SIMPLE";
|
||||
// maximum_shader_level = "SHADERS_SIMPLE";
|
||||
smooth_points = "off"; // Point smoothing is not supported in hardware.
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user