574
edits
(→texture-unit: added more info) |
(→texture-unit: cleanup) |
||
Line 379: | Line 379: | ||
===== texture-unit ===== | ===== texture-unit ===== | ||
unit: integer denoting which unit it is | unit: integer denoting which unit it is | ||
image: the texture path | image: the texture path | ||
images: multiple texture paths | images: multiple texture paths | ||
type: 2d, noise, cubemap, 3d (3d was added in 2020.1 and is used for layers of 2d textures defining a volumetric 3d texture) | type: 2d, noise, cubemap, 3d (3d was added in 2020.1 and is used for layers of 2d textures defining a volumetric 3d texture) | ||
filter: linear, linear-mipmap-linear, linear-mipmap-nearest", nearest, nearest-mipmap-linear, nearest-mipmap-nearest | filter: linear, linear-mipmap-linear, linear-mipmap-nearest", nearest, nearest-mipmap-linear, nearest-mipmap-nearest | ||
mag-filter: linear, linear-mipmap-linear, linear-mipmap-nearest", nearest, nearest-mipmap-linear, nearest-mipmap-nearest | mag-filter: linear, linear-mipmap-linear, linear-mipmap-nearest", nearest, nearest-mipmap-linear, nearest-mipmap-nearest | ||
wrap: repeat, clamp-to-edge, clamp-to-border, clamp, mirror | wrap: repeat, clamp-to-edge, clamp-to-border, clamp, mirror | ||
internal-format: normalized | internal-format: normalized | ||
edits