Skip to content

Commit 7bc4240

Browse files
authored
Update README.md
1 parent 95ef25a commit 7bc4240

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/three/plugins/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,22 @@ opacity = 1: number
866866

867867
The opacity of the image overlay.
868868

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.
884+
869885
### frame
870886

871887
```js

0 commit comments

Comments
 (0)