@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.
3 lines (2 loc) • 590 B
JavaScript
import{S as n}from"./index-BPURObVq.esm.min.js";const e="bumpVertex",t="#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)\n#if defined(TANGENT) && defined(NORMAL)\nvec3 tbnNormal=normalize(normalUpdated);vec3 tbnTangent=normalize(tangentUpdated.xyz);vec3 tbnBitangent=cross(tbnNormal,tbnTangent)*tangentUpdated.w;vTBN=mat3(finalWorld)*mat3(tbnTangent,tbnBitangent,tbnNormal);\n#endif\n#endif\n";n.IncludesShadersStore[e]||(n.IncludesShadersStore[e]=t);const d={name:e,shader:t};export{d as b};
//# sourceMappingURL=bumpVertex-DWpdMmct.esm.min.js.map