Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+32
View File
@@ -0,0 +1,32 @@
import * as THREE from 'three';
import * as React from 'react';
import { ReactThreeFiber, ThreeElements } from '@react-three/fiber';
import { ForwardRefComponent } from '../helpers/ts-utils';
export type CausticsProps = Omit<ThreeElements['group'], 'ref'> & {
frames?: number;
debug?: boolean;
causticsOnly: boolean;
backside: boolean;
ior?: number;
backsideIOR?: number;
worldRadius?: number;
intensity?: number;
color?: ReactThreeFiber.Color;
resolution?: number;
lightSource?: [x: number, y: number, z: number] | React.RefObject<THREE.Object3D>;
};
declare module '@react-three/fiber' {
interface ThreeElements {
causticsProjectionMaterial: ThreeElements['meshNormalMaterial'] & {
viewMatrix?: {
value: THREE.Matrix4;
};
color?: ReactThreeFiber.Color;
causticsTexture?: THREE.Texture;
causticsTextureB?: THREE.Texture;
lightProjMatrix?: THREE.Matrix4;
lightViewMatrix?: THREE.Matrix4;
};
}
}
export declare const Caustics: ForwardRefComponent<CausticsProps, THREE.Group>;