diff --git a/src/effects/LUT.tsx b/src/effects/LUT.tsx index 73abbb4..f1e277c 100644 --- a/src/effects/LUT.tsx +++ b/src/effects/LUT.tsx @@ -8,7 +8,7 @@ export type LUTProps = { lut: Texture blendFunction?: BlendFunction tetrahedralInterpolation?: boolean - ref: Ref + ref?: Ref } export function LUT({ lut, tetrahedralInterpolation, ref, ...props }: LUTProps) { diff --git a/src/effects/Texture.tsx b/src/effects/Texture.tsx index 68057a5..6610b78 100644 --- a/src/effects/Texture.tsx +++ b/src/effects/Texture.tsx @@ -8,7 +8,7 @@ type TextureProps = ConstructorParameters[0] & { textureSrc: string /** opacity of provided texture */ opacity?: number - ref: Ref + ref?: Ref } export function Texture({ textureSrc, texture, opacity = 1, ref, ...props }: TextureProps) {