From a56693c724946732cd3fa3acf5e0606666bd7f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= <34514239+appgurueu@users.noreply.github.com> Date: Fri, 26 May 2023 22:18:28 +0200 Subject: [PATCH] Update docs regarding `[transform` --- doc/texture_modifiers.adoc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/texture_modifiers.adoc b/doc/texture_modifiers.adoc index 2f1c438..afbdc2f 100644 --- a/doc/texture_modifiers.adoc +++ b/doc/texture_modifiers.adoc @@ -254,9 +254,9 @@ Multiplies the alpha value of each pixel of the base texture with `ratio/255` an The channels corresponding to the occurring characters (red, green, blue and alpha) will be inverted (set to `255 - value`). -===== `+^[transform+` +===== `+^[transform+` -`t` is either a number or a name identifying a transformation from the following table: +`` is the concatenation of either numbers or names identifying transformations from the following table: [cols="1,1,1"] |=== @@ -272,6 +272,8 @@ The channels corresponding to the occurring characters (red, green, blue and alp | 7 | FYR90 | Flip Y, then rotate by 90° counterclockwise |=== +Transformation names are case insensitive. + ===== `+^[verticalframe::+` * `framecount`: Animation frame count @@ -338,9 +340,9 @@ Masking is associative and commutative if all involved textures have the same di * `percent` is an integer from `0` to `100` * `texture` is an escaped texture modifier -Overlays the lower `percent` part of `texture` on the base texture `x`. +Overlays the lower `percent` part of `texture` on the base texture. -TIP: Use `blank.png` as base texture `x` if you do not want a background. +TIP: Use `blank.png` as base texture if you do not want a background. ==== Base Texture Generators