macaw-threejs
Version:
Macaw Three.js is ready to use library to connect Three.js with your project.<br/> Under the hood is a fully optimized, clean Three.js set up to make it easy to implement effects for images (future text, etc.). With effects out of the box, you don't even
17 lines (16 loc) • 522 B
TypeScript
import type * as THREE from "three";
import type { MacawImageShader } from "../../Core/Shader/Image";
import type { MacawComposerShader } from "../../Core/Shader/Composer";
import type { Uniform } from "../../Effect";
export declare type Image = {
shader: MacawImageShader;
baseMaterial: THREE.ShaderMaterial;
};
export declare type Composer = {
shader: MacawComposerShader;
shaderEffect: {
uniforms: Uniform;
fragmentShader: string;
vertexShader: string;
};
};