@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
20 lines • 515 B
TypeScript
export default NormalMapShader;
declare function NormalMapShader(): {
uniforms: {
heightMap: {
type: string;
value: any;
};
resolution: {
type: string;
value: THREE.Vector2;
};
};
vertexShader: string;
/**
* Reference: https://stackoverflow.com/questions/49640250/calculate-normals-from-heightmap
*/
fragmentShader: string;
};
import * as THREE from 'three';
//# sourceMappingURL=NormalMapShader2.d.ts.map