You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/components/material.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,10 +64,11 @@ depending on the material type applied.
64
64
| alphaTest | Alpha test threshold for transparency. | 0 |
65
65
| depthTest | Whether depth testing is enabled when rendering the material. | true |
66
66
| flatShading | Use `THREE.FlatShading` rather than `THREE.StandardShading`. | false |
67
-
| npot | Use settings for non-power-of-two (NPOT) texture. | false |
68
67
| offset | Texture offset to be used. | {x: 0, y: 0} |
69
68
| opacity | Extent of transparency. If the `transparent` property is not `true`, then the material will remain opaque and `opacity` will only affect color. | 1.0 |
70
69
| repeat | Texture repeat to be used. | {x: 1, y: 1} |
70
+
| magFilter | Which magnifying filter to use when sampling textures. Can be one of `linear` or `nearest`. |`linear`|
71
+
| minFilter | Which minifying filter to use when sampling textures. Can be one of `linear`, `linear-mipmap-nearest`, `linear-mipmap-linear`, `nearest`, `nearest-mipmap-nearest` or `nearest-mipmap-linear`. |`linear-mipmap-linear`|
71
72
| shader | Which material to use. Defaults to the [standard material][standard]. Can be set to the [flat material][flat] or to a registered custom shader material. | standard |
72
73
| side | Which sides of the mesh to render. Can be one of `front`, `back`, or `double`. | front |
73
74
| transparent | Whether material is transparent. Transparent entities are rendered after non-transparent entities. | false |
0 commit comments