@@ -490,6 +490,11 @@ to let the client generate textures on-the-fly.
490
490
The modifiers are applied directly in sRGB colorspace,
491
491
i.e. without gamma-correction.
492
492
493
+ ### Notes
494
+
495
+ * ` TEXMOD_UPSCALE ` : The texture with the lower resolution will be automatically
496
+ upscaled to the higher resolution texture.
497
+
493
498
### Texture overlaying
494
499
495
500
Textures can be overlaid by putting a ` ^ ` between them.
@@ -503,8 +508,9 @@ Example:
503
508
default_dirt.png^default_grass_side.png
504
509
505
510
` default_grass_side.png ` is overlaid over ` default_dirt.png ` .
506
- The texture with the lower resolution will be automatically upscaled to
507
- the higher resolution texture.
511
+
512
+ * See notes: ` TEXMOD_UPSCALE ` *
513
+
508
514
509
515
### Texture grouping
510
516
@@ -701,6 +707,8 @@ Apply a mask to the base image.
701
707
702
708
The mask is applied using binary AND.
703
709
710
+ * See notes: ` TEXMOD_UPSCALE ` *
711
+
704
712
#### ` [sheet:<w>x<h>:<x>,<y> `
705
713
706
714
Retrieves a tile at position x, y (in tiles, 0-indexed)
@@ -798,6 +806,8 @@ in GIMP. Overlay is the same as Hard light but with the role of the two
798
806
textures swapped, see the ` [hardlight ` modifier description for more detail
799
807
about these blend modes.
800
808
809
+ * See notes: ` TEXMOD_UPSCALE ` *
810
+
801
811
#### ` [hardlight:<file> `
802
812
803
813
Applies a Hard light blend with the two textures, like the Hard light layer
@@ -813,6 +823,8 @@ increase contrast without clipping.
813
823
Hard light is the same as Overlay but with the roles of the two textures
814
824
swapped, i.e. ` A.png^[hardlight:B.png ` is the same as ` B.png^[overlay:A.png `
815
825
826
+ * See notes: ` TEXMOD_UPSCALE ` *
827
+
816
828
#### ` [png:<base64> `
817
829
818
830
Embed a base64 encoded PNG image in the texture string.
@@ -831,6 +843,8 @@ In particular consider `minetest.dynamic_add_media` and test whether
831
843
using other texture modifiers could result in a shorter string than
832
844
embedding a whole image, this may vary by use case.
833
845
846
+ * See notes: ` TEXMOD_UPSCALE ` *
847
+
834
848
Hardware coloring
835
849
-----------------
836
850
0 commit comments