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: src/three/plugins/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -866,6 +866,22 @@ opacity = 1: number
866
866
867
867
The opacity of the image overlay.
868
868
869
+
### alphaMask
870
+
871
+
```js
872
+
alphaMask = false: boolean
873
+
```
874
+
875
+
If true then the alpha of this layer is used to mask the color of the layers below this one. Can be used to hide only a portion of the texture.
876
+
877
+
### alphaInvert
878
+
879
+
```js
880
+
alphaInvert = flalse: boolean
881
+
```
882
+
883
+
If true it indicates that the alpha value of the layer will be inverted (`1.0 - alpha`). Used in conjunction with `alphaMask` this can be used to cut a hole in terrain surface.
0 commit comments