UNPKG

@babylonjs/viewer

Version:

The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.

20 lines (17 loc) 582 B
import { S as ShaderStore } from './index-MZPybX0H.esm.js'; // Do not edit. const name = "bumpVertexDeclaration"; const shader = `#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC) #if defined(TANGENT) && defined(NORMAL) varying mat3 vTBN; #endif #endif `; // Sideeffect if (!ShaderStore.IncludesShadersStore[name]) { ShaderStore.IncludesShadersStore[name] = shader; } /** @internal */ const bumpVertexDeclaration = { name, shader }; export { bumpVertexDeclaration as b }; //# sourceMappingURL=bumpVertexDeclaration-BskwVZKJ.esm.js.map