]> git.mxchange.org Git - flightgear.git/blobdiff - docs-mini/README.effects
Document changes to effect files syntax: adding mipmap-control
[flightgear.git] / docs-mini / README.effects
index c46d392c2466044511c90a1b266764d1b43ec06a..0e2814e7c28d9b00373f796315a48c70cb06e7c3 100644 (file)
@@ -192,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 :
+                                       <function-r>average</function-r>
+                                       <function-a>min</function-a>
+                               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