Skip to content

Commit 21bc0f4

Browse files
committed
Update README
1 parent 8659a7f commit 21bc0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ const GlFadeInImage = ({ src }) => {
8181
|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-------------------------|
8282
| src | Image url | yes | |
8383
| progress | Normalized progress of the transition, i.e. a value between `0` and `1`. | yes | |
84+
| transition | GLSL source for the transition effect. | no | Blobby noise transition |
8485
| loadAssetsOn | If supplied, assets will be loaded once this prop equals `true`. If omitted, assets will be preloaded on mount. See the live demo source in `example/` for details. | no | |
8586
| onAssetsLoaded | Callback fired when all image assets have been loaded (main image, mask & textures) and the image is ready to be transitioned in. The function is called with the argument `{ width, height }`, i.e. an object containing the width and height of the main image. | no | |
86-
| transition | GLSL source for the transition effect. | no | Blobby noise transition |
8787
| mask | Mask image url. If this prop is supplied, the image will be used as a mask and the transition will be set (and overridden) accordingly. | no | |
8888
| textures | Array of image urls to be loaded as textures in the transition shader. `textures[0]` will be available as `sampler2D textures[0] in the shader with `vec2 textureResolutions[0]` containing the image resolution. | no | |
8989
| className | CSS class name for the outermost wrapper div. | no | |

0 commit comments

Comments
 (0)