X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=docs-mini%2FREADME.effects;h=0e2814e7c28d9b00373f796315a48c70cb06e7c3;hb=e008f610d1d3c14d92a5745eab1d568417308dd1;hp=550163f29d9de3c4fa2eddf70c9f8b581e3964a8;hpb=fcb255d19e9c6cca805ba8776b8d26da6af718c4;p=flightgear.git
diff --git a/docs-mini/README.effects b/docs-mini/README.effects
index 550163f29..0e2814e7c 100644
--- a/docs-mini/README.effects
+++ b/docs-mini/README.effects
@@ -35,6 +35,7 @@ and, or, equal, less, less-equal
glversion - returns the version number of OpenGL
extension-supported - returns true if an OpenGL extension is supported
property - returns the boolean value of a property
+float-property - returns the float value of a property, useful inside equal, less or less-equal nodes
shader-language - returns the version of GLSL supported, or 0 if there is none.
The proper way to test whether to enable a shader-based technique is:
@@ -48,6 +49,23 @@ The proper way to test whether to enable a shader-based technique is:
+There is also a property set by the user to indicate what is the level
+of quality desired. This level of quality can be checked in the predicate
+like this :
+
+
+ /sim/rendering/shader-effects
+
+ 2.0
+ /sim/rendering/quality-level
+
+
+
+
+
+The range of /sim/rendering/quality-level is [0..5]
+ * 2.0 is the threshold for relief mapping effects,
+ * 4.0 is the threshold for geometry shader usage.
A technique can consist of several passes. A pass is basically an Open
Scene Graph StateSet. Ultimately all OpenGL and OSG modes and state
@@ -174,6 +192,15 @@ texture-unit - has several child properties:
wrap-s
wrap-t
wrap-r
+ mipmap-control - controls how the mipmap levels are computed.
+ Each color channel can be computed with different functions
+ among average, sum, product, min and max. For example :
+ average
+ min
+ function-r - function for red
+ function-g - function for green
+ function-b - function for blue
+ function-a - function for alpha
The following built-in types are supported:
white - 1 pixel white texture
noise - a 3d noise texture