LightsAndColor: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kiheru
Started a page about zone colouring
imported>Kiheru
Zone coloring mode: added a bit about zone wide coloring
Line 18: Line 18:
<parameter name="color_method">multiply</parameter>
<parameter name="color_method">multiply</parameter>
</source>
</source>
It tells the Stendhal client to use the multiply mode blending, see [[LightsAndColor#Blend modes|Blend modes]] for more information. For multiplication the color which everything is multiplied needs to be known too, and that is specified at the next line:

<source lang="xml">
<source lang="xml">
<parameter name="color">#413263</parameter>
<parameter name="color">#413263</parameter>
</source>
</source>
The color definition is the same as in html, and many programs, the [http://www.gimp.org GIMP] for example, can display colors in that form. In the case you need to do it by hand, the numbers after # are the red, green and blue components, two for each in that order. Each component is in hexadecimal and in range ''00'' to ''ff''.

== Blend layers ===
== Blend layers ===
TODO
TODO