574
edits
m (→program: beautify) |
(→texture-unit: added more info) |
||
Line 378: | Line 378: | ||
===== texture-unit ===== | ===== texture-unit ===== | ||
unit: integer denoting which unit it is | |||
image: the texture path | |||
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) | |||
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 | |||
internal-format: normalized | |||
Example: | Example: | ||
edits