@babylonjs/viewer 7.35.2-alpha → 7.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (599) hide show
  1. package/configuration/configuration.d.ts +107 -0
  2. package/configuration/configuration.js +16 -0
  3. package/configuration/configuration.js.map +1 -0
  4. package/configuration/configurationCompatibility.d.ts +8 -0
  5. package/configuration/configurationCompatibility.js +66 -0
  6. package/configuration/configurationCompatibility.js.map +1 -0
  7. package/configuration/configurationContainer.d.ts +10 -0
  8. package/configuration/configurationContainer.js +10 -0
  9. package/configuration/configurationContainer.js.map +1 -0
  10. package/configuration/globals.d.ts +6 -0
  11. package/configuration/globals.js +18 -0
  12. package/configuration/globals.js.map +1 -0
  13. package/configuration/index.d.ts +2 -0
  14. package/configuration/index.js +4 -0
  15. package/configuration/index.js.map +1 -0
  16. package/configuration/interfaces/cameraConfiguration.d.ts +31 -0
  17. package/configuration/interfaces/cameraConfiguration.js +2 -0
  18. package/configuration/interfaces/cameraConfiguration.js.map +1 -0
  19. package/configuration/interfaces/colorGradingConfiguration.d.ts +81 -0
  20. package/configuration/interfaces/colorGradingConfiguration.js +2 -0
  21. package/configuration/interfaces/colorGradingConfiguration.js.map +1 -0
  22. package/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts +20 -0
  23. package/configuration/interfaces/defaultRenderingPipelineConfiguration.js +2 -0
  24. package/configuration/interfaces/defaultRenderingPipelineConfiguration.js.map +1 -0
  25. package/configuration/interfaces/environmentMapConfiguration.d.ts +22 -0
  26. package/configuration/interfaces/environmentMapConfiguration.js +2 -0
  27. package/configuration/interfaces/environmentMapConfiguration.js.map +1 -0
  28. package/configuration/interfaces/groundConfiguration.d.ts +24 -0
  29. package/configuration/interfaces/groundConfiguration.js +2 -0
  30. package/configuration/interfaces/groundConfiguration.js.map +1 -0
  31. package/configuration/interfaces/imageProcessingConfiguration.d.ts +45 -0
  32. package/configuration/interfaces/imageProcessingConfiguration.js +2 -0
  33. package/configuration/interfaces/imageProcessingConfiguration.js.map +1 -0
  34. package/configuration/interfaces/index.d.ts +15 -0
  35. package/configuration/interfaces/index.js +16 -0
  36. package/configuration/interfaces/index.js.map +1 -0
  37. package/configuration/interfaces/lightConfiguration.d.ts +60 -0
  38. package/configuration/interfaces/lightConfiguration.js +2 -0
  39. package/configuration/interfaces/lightConfiguration.js.map +1 -0
  40. package/configuration/interfaces/modelAnimationConfiguration.d.ts +26 -0
  41. package/configuration/interfaces/modelAnimationConfiguration.js +2 -0
  42. package/configuration/interfaces/modelAnimationConfiguration.js.map +1 -0
  43. package/configuration/interfaces/modelConfiguration.d.ts +65 -0
  44. package/configuration/interfaces/modelConfiguration.js +2 -0
  45. package/configuration/interfaces/modelConfiguration.js.map +1 -0
  46. package/configuration/interfaces/observersConfiguration.d.ts +5 -0
  47. package/configuration/interfaces/observersConfiguration.js +2 -0
  48. package/configuration/interfaces/observersConfiguration.js.map +1 -0
  49. package/configuration/interfaces/sceneConfiguration.d.ts +48 -0
  50. package/configuration/interfaces/sceneConfiguration.js +2 -0
  51. package/configuration/interfaces/sceneConfiguration.js.map +1 -0
  52. package/configuration/interfaces/sceneOptimizerConfiguration.d.ts +23 -0
  53. package/configuration/interfaces/sceneOptimizerConfiguration.js +2 -0
  54. package/configuration/interfaces/sceneOptimizerConfiguration.js.map +1 -0
  55. package/configuration/interfaces/skyboxConfiguration.d.ts +21 -0
  56. package/configuration/interfaces/skyboxConfiguration.js +2 -0
  57. package/configuration/interfaces/skyboxConfiguration.js.map +1 -0
  58. package/configuration/interfaces/templateConfiguration.d.ts +67 -0
  59. package/configuration/interfaces/templateConfiguration.js +2 -0
  60. package/configuration/interfaces/templateConfiguration.js.map +1 -0
  61. package/configuration/interfaces/vrConfiguration.d.ts +16 -0
  62. package/configuration/interfaces/vrConfiguration.js +2 -0
  63. package/configuration/interfaces/vrConfiguration.js.map +1 -0
  64. package/configuration/loader.d.ts +4 -0
  65. package/configuration/loader.js +17 -0
  66. package/configuration/loader.js.map +1 -0
  67. package/configuration/mappers.d.ts +43 -0
  68. package/configuration/mappers.js +193 -0
  69. package/configuration/mappers.js.map +1 -0
  70. package/configuration/renderOnlyLoader.d.ts +33 -0
  71. package/configuration/renderOnlyLoader.js +162 -0
  72. package/configuration/renderOnlyLoader.js.map +1 -0
  73. package/configuration/types/default.d.ts +6 -0
  74. package/configuration/types/default.js +121 -0
  75. package/configuration/types/default.js.map +1 -0
  76. package/configuration/types/environmentMap.d.ts +5 -0
  77. package/configuration/types/environmentMap.js +14 -0
  78. package/configuration/types/environmentMap.js.map +1 -0
  79. package/configuration/types/extended.d.ts +6 -0
  80. package/configuration/types/extended.js +317 -0
  81. package/configuration/types/extended.js.map +1 -0
  82. package/configuration/types/index.d.ts +14 -0
  83. package/configuration/types/index.js +51 -0
  84. package/configuration/types/index.js.map +1 -0
  85. package/configuration/types/minimal.d.ts +6 -0
  86. package/configuration/types/minimal.js +43 -0
  87. package/configuration/types/minimal.js.map +1 -0
  88. package/configuration/types/renderOnlyDefault.d.ts +30 -0
  89. package/configuration/types/renderOnlyDefault.js +31 -0
  90. package/configuration/types/renderOnlyDefault.js.map +1 -0
  91. package/configuration/types/shadowLight.d.ts +9 -0
  92. package/configuration/types/shadowLight.js +64 -0
  93. package/configuration/types/shadowLight.js.map +1 -0
  94. package/helper/index.d.ts +29 -0
  95. package/helper/index.js +66 -0
  96. package/helper/index.js.map +1 -0
  97. package/index.d.ts +30 -0
  98. package/index.js +46 -0
  99. package/index.js.map +1 -0
  100. package/initializer.d.ts +11 -0
  101. package/initializer.js +35 -0
  102. package/initializer.js.map +1 -0
  103. package/interfaces.d.ts +5 -0
  104. package/interfaces.js +7 -0
  105. package/interfaces.js.map +1 -0
  106. package/labs/environmentSerializer.d.ts +126 -0
  107. package/labs/environmentSerializer.js +191 -0
  108. package/labs/environmentSerializer.js.map +1 -0
  109. package/labs/texture.d.ts +183 -0
  110. package/labs/texture.js +351 -0
  111. package/labs/texture.js.map +1 -0
  112. package/labs/viewerLabs.d.ts +51 -0
  113. package/labs/viewerLabs.js +134 -0
  114. package/labs/viewerLabs.js.map +1 -0
  115. package/loader/modelLoader.d.ts +56 -0
  116. package/loader/modelLoader.js +202 -0
  117. package/loader/modelLoader.js.map +1 -0
  118. package/loader/plugins/applyMaterialConfig.d.ts +12 -0
  119. package/loader/plugins/applyMaterialConfig.js +16 -0
  120. package/loader/plugins/applyMaterialConfig.js.map +1 -0
  121. package/loader/plugins/extendedMaterialLoaderPlugin.d.ts +9 -0
  122. package/loader/plugins/extendedMaterialLoaderPlugin.js +16 -0
  123. package/loader/plugins/extendedMaterialLoaderPlugin.js.map +1 -0
  124. package/loader/plugins/index.d.ts +19 -0
  125. package/loader/plugins/index.js +44 -0
  126. package/loader/plugins/index.js.map +1 -0
  127. package/loader/plugins/loaderPlugin.d.ts +24 -0
  128. package/loader/plugins/loaderPlugin.js +2 -0
  129. package/loader/plugins/loaderPlugin.js.map +1 -0
  130. package/loader/plugins/msftLodLoaderPlugin.d.ts +12 -0
  131. package/loader/plugins/msftLodLoaderPlugin.js +21 -0
  132. package/loader/plugins/msftLodLoaderPlugin.js.map +1 -0
  133. package/loader/plugins/telemetryLoaderPlugin.d.ts +12 -0
  134. package/loader/plugins/telemetryLoaderPlugin.js +36 -0
  135. package/loader/plugins/telemetryLoaderPlugin.js.map +1 -0
  136. package/managers/observablesManager.d.ts +66 -0
  137. package/managers/observablesManager.js +35 -0
  138. package/managers/observablesManager.js.map +1 -0
  139. package/managers/sceneManager.d.ts +245 -0
  140. package/managers/sceneManager.js +1375 -0
  141. package/managers/sceneManager.js.map +1 -0
  142. package/managers/telemetryManager.d.ts +78 -0
  143. package/managers/telemetryManager.js +117 -0
  144. package/managers/telemetryManager.js.map +1 -0
  145. package/model/modelAnimation.d.ts +215 -0
  146. package/model/modelAnimation.js +237 -0
  147. package/model/modelAnimation.js.map +1 -0
  148. package/model/viewerModel.d.ts +233 -0
  149. package/model/viewerModel.js +673 -0
  150. package/model/viewerModel.js.map +1 -0
  151. package/optimizer/custom/extended.d.ts +13 -0
  152. package/optimizer/custom/extended.js +101 -0
  153. package/optimizer/custom/extended.js.map +1 -0
  154. package/optimizer/custom/index.d.ts +9 -0
  155. package/optimizer/custom/index.js +26 -0
  156. package/optimizer/custom/index.js.map +1 -0
  157. package/package.json +27 -18
  158. package/readme.md +21 -145
  159. package/renderOnlyIndex.d.ts +11 -0
  160. package/renderOnlyIndex.js +18 -0
  161. package/renderOnlyIndex.js.map +1 -0
  162. package/templating/eventManager.d.ts +35 -0
  163. package/templating/eventManager.js +66 -0
  164. package/templating/eventManager.js.map +1 -0
  165. package/templating/plugins/hdButtonPlugin.d.ts +9 -0
  166. package/templating/plugins/hdButtonPlugin.js +22 -0
  167. package/templating/plugins/hdButtonPlugin.js.map +1 -0
  168. package/templating/plugins/printButton.d.ts +9 -0
  169. package/templating/plugins/printButton.js +41 -0
  170. package/templating/plugins/printButton.js.map +1 -0
  171. package/templating/templateManager.d.ts +197 -0
  172. package/templating/templateManager.js +561 -0
  173. package/templating/templateManager.js.map +1 -0
  174. package/templating/viewerTemplatePlugin.d.ts +21 -0
  175. package/templating/viewerTemplatePlugin.js +69 -0
  176. package/templating/viewerTemplatePlugin.js.map +1 -0
  177. package/viewer/defaultViewer.d.ts +130 -0
  178. package/viewer/defaultViewer.js +672 -0
  179. package/viewer/defaultViewer.js.map +1 -0
  180. package/viewer/renderOnlyViewer.d.ts +9 -0
  181. package/viewer/renderOnlyViewer.js +46 -0
  182. package/viewer/renderOnlyViewer.js.map +1 -0
  183. package/viewer/viewer.d.ts +258 -0
  184. package/viewer/viewer.js +783 -0
  185. package/viewer/viewer.js.map +1 -0
  186. package/viewer/viewerManager.d.ts +58 -0
  187. package/viewer/viewerManager.js +91 -0
  188. package/viewer/viewerManager.js.map +1 -0
  189. package/viewer/viewerWithTemplate.d.ts +9 -0
  190. package/viewer/viewerWithTemplate.js +20 -0
  191. package/viewer/viewerWithTemplate.js.map +1 -0
  192. package/assets/photoStudio.env +0 -0
  193. package/dist/babylon-viewer.esm.js +0 -2
  194. package/dist/babylon-viewer.esm.js.map +0 -1
  195. package/dist/babylon-viewer.esm.min.js +0 -2
  196. package/dist/babylon-viewer.esm.min.js.map +0 -1
  197. package/dist/chunks/EXT_lights_image_based-I6dGStsg.esm.min.js +0 -2
  198. package/dist/chunks/EXT_lights_image_based-I6dGStsg.esm.min.js.map +0 -1
  199. package/dist/chunks/EXT_lights_image_based-gqNsOFez.esm.js +0 -171
  200. package/dist/chunks/EXT_lights_image_based-gqNsOFez.esm.js.map +0 -1
  201. package/dist/chunks/EXT_mesh_gpu_instancing-DFS6xr5n.esm.min.js +0 -2
  202. package/dist/chunks/EXT_mesh_gpu_instancing-DFS6xr5n.esm.min.js.map +0 -1
  203. package/dist/chunks/EXT_mesh_gpu_instancing-lOryCKIX.esm.js +0 -86
  204. package/dist/chunks/EXT_mesh_gpu_instancing-lOryCKIX.esm.js.map +0 -1
  205. package/dist/chunks/EXT_meshopt_compression-BQZ0hBff.esm.js +0 -134
  206. package/dist/chunks/EXT_meshopt_compression-BQZ0hBff.esm.js.map +0 -1
  207. package/dist/chunks/EXT_meshopt_compression-Dv_WoTzw.esm.min.js +0 -2
  208. package/dist/chunks/EXT_meshopt_compression-Dv_WoTzw.esm.min.js.map +0 -1
  209. package/dist/chunks/EXT_texture_avif-BLib9ZsW.esm.js +0 -44
  210. package/dist/chunks/EXT_texture_avif-BLib9ZsW.esm.js.map +0 -1
  211. package/dist/chunks/EXT_texture_avif-BMUg03OA.esm.min.js +0 -2
  212. package/dist/chunks/EXT_texture_avif-BMUg03OA.esm.min.js.map +0 -1
  213. package/dist/chunks/EXT_texture_webp-DPJIMXIs.esm.js +0 -43
  214. package/dist/chunks/EXT_texture_webp-DPJIMXIs.esm.js.map +0 -1
  215. package/dist/chunks/EXT_texture_webp-DPzL7RO5.esm.min.js +0 -2
  216. package/dist/chunks/EXT_texture_webp-DPzL7RO5.esm.min.js.map +0 -1
  217. package/dist/chunks/ExtrasAsMetadata-CL0k4Btm.esm.js +0 -64
  218. package/dist/chunks/ExtrasAsMetadata-CL0k4Btm.esm.js.map +0 -1
  219. package/dist/chunks/ExtrasAsMetadata-O8gteBcK.esm.min.js +0 -2
  220. package/dist/chunks/ExtrasAsMetadata-O8gteBcK.esm.min.js.map +0 -1
  221. package/dist/chunks/KHR_animation_pointer-BFyC08_R.esm.js +0 -343
  222. package/dist/chunks/KHR_animation_pointer-BFyC08_R.esm.js.map +0 -1
  223. package/dist/chunks/KHR_animation_pointer-BZvneRZ7.esm.min.js +0 -2
  224. package/dist/chunks/KHR_animation_pointer-BZvneRZ7.esm.min.js.map +0 -1
  225. package/dist/chunks/KHR_draco_mesh_compression-CjzLflHM.esm.js +0 -610
  226. package/dist/chunks/KHR_draco_mesh_compression-CjzLflHM.esm.js.map +0 -1
  227. package/dist/chunks/KHR_draco_mesh_compression-sHuqiNW-.esm.min.js +0 -2
  228. package/dist/chunks/KHR_draco_mesh_compression-sHuqiNW-.esm.min.js.map +0 -1
  229. package/dist/chunks/KHR_interactivity-CA1NQ9Fc.esm.js +0 -4033
  230. package/dist/chunks/KHR_interactivity-CA1NQ9Fc.esm.js.map +0 -1
  231. package/dist/chunks/KHR_interactivity-CVvexOkD.esm.min.js +0 -2
  232. package/dist/chunks/KHR_interactivity-CVvexOkD.esm.min.js.map +0 -1
  233. package/dist/chunks/KHR_lights_punctual-CIEvgNk7.esm.js +0 -1253
  234. package/dist/chunks/KHR_lights_punctual-CIEvgNk7.esm.js.map +0 -1
  235. package/dist/chunks/KHR_lights_punctual-CTm7ey2n.esm.min.js +0 -2
  236. package/dist/chunks/KHR_lights_punctual-CTm7ey2n.esm.min.js.map +0 -1
  237. package/dist/chunks/KHR_materials_anisotropy-B8l2iZjl.esm.min.js +0 -2
  238. package/dist/chunks/KHR_materials_anisotropy-B8l2iZjl.esm.min.js.map +0 -1
  239. package/dist/chunks/KHR_materials_anisotropy-vnjucfaw.esm.js +0 -65
  240. package/dist/chunks/KHR_materials_anisotropy-vnjucfaw.esm.js.map +0 -1
  241. package/dist/chunks/KHR_materials_clearcoat-BhZGttd-.esm.js +0 -96
  242. package/dist/chunks/KHR_materials_clearcoat-BhZGttd-.esm.js.map +0 -1
  243. package/dist/chunks/KHR_materials_clearcoat-BlhYeFYN.esm.min.js +0 -2
  244. package/dist/chunks/KHR_materials_clearcoat-BlhYeFYN.esm.min.js.map +0 -1
  245. package/dist/chunks/KHR_materials_diffuse_transmission-DJiKAnah.esm.js +0 -97
  246. package/dist/chunks/KHR_materials_diffuse_transmission-DJiKAnah.esm.js.map +0 -1
  247. package/dist/chunks/KHR_materials_diffuse_transmission-DmzdysxQ.esm.min.js +0 -2
  248. package/dist/chunks/KHR_materials_diffuse_transmission-DmzdysxQ.esm.min.js.map +0 -1
  249. package/dist/chunks/KHR_materials_dispersion-B1e8i3BQ.esm.js +0 -62
  250. package/dist/chunks/KHR_materials_dispersion-B1e8i3BQ.esm.js.map +0 -1
  251. package/dist/chunks/KHR_materials_dispersion-B_uhZ_r0.esm.min.js +0 -2
  252. package/dist/chunks/KHR_materials_dispersion-B_uhZ_r0.esm.min.js.map +0 -1
  253. package/dist/chunks/KHR_materials_emissive_strength-Bdc1fhX3.esm.js +0 -55
  254. package/dist/chunks/KHR_materials_emissive_strength-Bdc1fhX3.esm.js.map +0 -1
  255. package/dist/chunks/KHR_materials_emissive_strength-CujgLUsQ.esm.min.js +0 -2
  256. package/dist/chunks/KHR_materials_emissive_strength-CujgLUsQ.esm.min.js.map +0 -1
  257. package/dist/chunks/KHR_materials_ior-DAITk5f0.esm.js +0 -64
  258. package/dist/chunks/KHR_materials_ior-DAITk5f0.esm.js.map +0 -1
  259. package/dist/chunks/KHR_materials_ior-DDjIIueh.esm.min.js +0 -2
  260. package/dist/chunks/KHR_materials_ior-DDjIIueh.esm.min.js.map +0 -1
  261. package/dist/chunks/KHR_materials_iridescence-Bs4XQdUc.esm.js +0 -72
  262. package/dist/chunks/KHR_materials_iridescence-Bs4XQdUc.esm.js.map +0 -1
  263. package/dist/chunks/KHR_materials_iridescence-CofsEJxf.esm.min.js +0 -2
  264. package/dist/chunks/KHR_materials_iridescence-CofsEJxf.esm.min.js.map +0 -1
  265. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-D2cm0Qti.esm.js +0 -81
  266. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-D2cm0Qti.esm.js.map +0 -1
  267. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-Na22WakQ.esm.min.js +0 -2
  268. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-Na22WakQ.esm.min.js.map +0 -1
  269. package/dist/chunks/KHR_materials_sheen-BCY5GSrv.esm.js +0 -85
  270. package/dist/chunks/KHR_materials_sheen-BCY5GSrv.esm.js.map +0 -1
  271. package/dist/chunks/KHR_materials_sheen-BEHiRviB.esm.min.js +0 -2
  272. package/dist/chunks/KHR_materials_sheen-BEHiRviB.esm.min.js.map +0 -1
  273. package/dist/chunks/KHR_materials_specular-BFt2dwLj.esm.js +0 -75
  274. package/dist/chunks/KHR_materials_specular-BFt2dwLj.esm.js.map +0 -1
  275. package/dist/chunks/KHR_materials_specular-BGIPQ1rQ.esm.min.js +0 -2
  276. package/dist/chunks/KHR_materials_specular-BGIPQ1rQ.esm.min.js.map +0 -1
  277. package/dist/chunks/KHR_materials_transmission-BgbdeIB3.esm.js +0 -307
  278. package/dist/chunks/KHR_materials_transmission-BgbdeIB3.esm.js.map +0 -1
  279. package/dist/chunks/KHR_materials_transmission-C-tRBJu4.esm.min.js +0 -2
  280. package/dist/chunks/KHR_materials_transmission-C-tRBJu4.esm.min.js.map +0 -1
  281. package/dist/chunks/KHR_materials_unlit-CcRsVA_x.esm.min.js +0 -2
  282. package/dist/chunks/KHR_materials_unlit-CcRsVA_x.esm.min.js.map +0 -1
  283. package/dist/chunks/KHR_materials_unlit-DNhfBz4E.esm.js +0 -74
  284. package/dist/chunks/KHR_materials_unlit-DNhfBz4E.esm.js.map +0 -1
  285. package/dist/chunks/KHR_materials_variants-77adpgBk.esm.min.js +0 -2
  286. package/dist/chunks/KHR_materials_variants-77adpgBk.esm.min.js.map +0 -1
  287. package/dist/chunks/KHR_materials_variants-CSaSbOzl.esm.js +0 -238
  288. package/dist/chunks/KHR_materials_variants-CSaSbOzl.esm.js.map +0 -1
  289. package/dist/chunks/KHR_materials_volume-AOCoYNKI.esm.min.js +0 -2
  290. package/dist/chunks/KHR_materials_volume-AOCoYNKI.esm.min.js.map +0 -1
  291. package/dist/chunks/KHR_materials_volume-BWHhpmNH.esm.js +0 -87
  292. package/dist/chunks/KHR_materials_volume-BWHhpmNH.esm.js.map +0 -1
  293. package/dist/chunks/KHR_mesh_quantization-BB7EL2M1.esm.min.js +0 -2
  294. package/dist/chunks/KHR_mesh_quantization-BB7EL2M1.esm.min.js.map +0 -1
  295. package/dist/chunks/KHR_mesh_quantization-D2-xHrHe.esm.js +0 -26
  296. package/dist/chunks/KHR_mesh_quantization-D2-xHrHe.esm.js.map +0 -1
  297. package/dist/chunks/KHR_node_visibility-Di8sseTY.esm.min.js +0 -2
  298. package/dist/chunks/KHR_node_visibility-Di8sseTY.esm.min.js.map +0 -1
  299. package/dist/chunks/KHR_node_visibility-qzuskO3u.esm.js +0 -46
  300. package/dist/chunks/KHR_node_visibility-qzuskO3u.esm.js.map +0 -1
  301. package/dist/chunks/KHR_texture_basisu-BUP7AAVF.esm.min.js +0 -2
  302. package/dist/chunks/KHR_texture_basisu-BUP7AAVF.esm.min.js.map +0 -1
  303. package/dist/chunks/KHR_texture_basisu-C60Bt2Ic.esm.js +0 -43
  304. package/dist/chunks/KHR_texture_basisu-C60Bt2Ic.esm.js.map +0 -1
  305. package/dist/chunks/KHR_texture_transform-BUOLLEYP.esm.min.js +0 -2
  306. package/dist/chunks/KHR_texture_transform-BUOLLEYP.esm.min.js.map +0 -1
  307. package/dist/chunks/KHR_texture_transform-Dg-cPDyd.esm.js +0 -63
  308. package/dist/chunks/KHR_texture_transform-Dg-cPDyd.esm.js.map +0 -1
  309. package/dist/chunks/KHR_xmp_json_ld-CsFE0gfF.esm.min.js +0 -2
  310. package/dist/chunks/KHR_xmp_json_ld-CsFE0gfF.esm.min.js.map +0 -1
  311. package/dist/chunks/KHR_xmp_json_ld-DgCKwEEO.esm.js +0 -51
  312. package/dist/chunks/KHR_xmp_json_ld-DgCKwEEO.esm.js.map +0 -1
  313. package/dist/chunks/MSFT_audio_emitter-VHBse1UH.esm.js +0 -2207
  314. package/dist/chunks/MSFT_audio_emitter-VHBse1UH.esm.js.map +0 -1
  315. package/dist/chunks/MSFT_audio_emitter-iFlly5g-.esm.min.js +0 -2
  316. package/dist/chunks/MSFT_audio_emitter-iFlly5g-.esm.min.js.map +0 -1
  317. package/dist/chunks/MSFT_lod-Bwsctx65.esm.js +0 -337
  318. package/dist/chunks/MSFT_lod-Bwsctx65.esm.js.map +0 -1
  319. package/dist/chunks/MSFT_lod-CbiRs9Kc.esm.min.js +0 -2
  320. package/dist/chunks/MSFT_lod-CbiRs9Kc.esm.min.js.map +0 -1
  321. package/dist/chunks/MSFT_minecraftMesh-Dl6WKmxG.esm.min.js +0 -2
  322. package/dist/chunks/MSFT_minecraftMesh-Dl6WKmxG.esm.min.js.map +0 -1
  323. package/dist/chunks/MSFT_minecraftMesh-MBaTkra4.esm.js +0 -46
  324. package/dist/chunks/MSFT_minecraftMesh-MBaTkra4.esm.js.map +0 -1
  325. package/dist/chunks/MSFT_sRGBFactors-DJvNL0IJ.esm.js +0 -47
  326. package/dist/chunks/MSFT_sRGBFactors-DJvNL0IJ.esm.js.map +0 -1
  327. package/dist/chunks/MSFT_sRGBFactors-Drf21tSs.esm.min.js +0 -2
  328. package/dist/chunks/MSFT_sRGBFactors-Drf21tSs.esm.min.js.map +0 -1
  329. package/dist/chunks/animationGroup-CgbfLDgX.esm.min.js +0 -2
  330. package/dist/chunks/animationGroup-CgbfLDgX.esm.min.js.map +0 -1
  331. package/dist/chunks/animationGroup-eowyl97W.esm.js +0 -2482
  332. package/dist/chunks/animationGroup-eowyl97W.esm.js.map +0 -1
  333. package/dist/chunks/assetContainer-Bsqe9swA.esm.min.js +0 -2
  334. package/dist/chunks/assetContainer-Bsqe9swA.esm.min.js.map +0 -1
  335. package/dist/chunks/assetContainer-DO29qm5j.esm.js +0 -1720
  336. package/dist/chunks/assetContainer-DO29qm5j.esm.js.map +0 -1
  337. package/dist/chunks/audioEngine-ByiWmXaG.esm.js +0 -305
  338. package/dist/chunks/audioEngine-ByiWmXaG.esm.js.map +0 -1
  339. package/dist/chunks/audioEngine-Tyl5gl5Y.esm.min.js +0 -2
  340. package/dist/chunks/audioEngine-Tyl5gl5Y.esm.min.js.map +0 -1
  341. package/dist/chunks/bakedVertexAnimation-BxUlezN-.esm.min.js +0 -2
  342. package/dist/chunks/bakedVertexAnimation-BxUlezN-.esm.min.js.map +0 -1
  343. package/dist/chunks/bakedVertexAnimation-Co7tF_AI.esm.js +0 -114
  344. package/dist/chunks/bakedVertexAnimation-Co7tF_AI.esm.js.map +0 -1
  345. package/dist/chunks/basisTextureLoader-C6h2HrT5.esm.min.js +0 -2
  346. package/dist/chunks/basisTextureLoader-C6h2HrT5.esm.min.js.map +0 -1
  347. package/dist/chunks/basisTextureLoader-CFdjlTQv.esm.js +0 -600
  348. package/dist/chunks/basisTextureLoader-CFdjlTQv.esm.js.map +0 -1
  349. package/dist/chunks/dds--AOY6KMC.esm.js +0 -540
  350. package/dist/chunks/dds--AOY6KMC.esm.js.map +0 -1
  351. package/dist/chunks/dds-mtdSIG7y.esm.min.js +0 -2
  352. package/dist/chunks/dds-mtdSIG7y.esm.min.js.map +0 -1
  353. package/dist/chunks/ddsTextureLoader-CS64tfyO.esm.min.js +0 -2
  354. package/dist/chunks/ddsTextureLoader-CS64tfyO.esm.min.js.map +0 -1
  355. package/dist/chunks/ddsTextureLoader-Cm3kvldL.esm.js +0 -88
  356. package/dist/chunks/ddsTextureLoader-Cm3kvldL.esm.js.map +0 -1
  357. package/dist/chunks/decalFragment-B_EoELPt.esm.min.js +0 -2
  358. package/dist/chunks/decalFragment-B_EoELPt.esm.min.js.map +0 -1
  359. package/dist/chunks/decalFragment-CrQo80qe.esm.js +0 -18
  360. package/dist/chunks/decalFragment-CrQo80qe.esm.js.map +0 -1
  361. package/dist/chunks/default.fragment-B7BZK7Wn.esm.js +0 -433
  362. package/dist/chunks/default.fragment-B7BZK7Wn.esm.js.map +0 -1
  363. package/dist/chunks/default.fragment-CDe0T1Vr.esm.min.js +0 -2
  364. package/dist/chunks/default.fragment-CDe0T1Vr.esm.min.js.map +0 -1
  365. package/dist/chunks/default.fragment-DE-fL82A.esm.min.js +0 -2
  366. package/dist/chunks/default.fragment-DE-fL82A.esm.min.js.map +0 -1
  367. package/dist/chunks/default.fragment-OyO2ek5x.esm.js +0 -497
  368. package/dist/chunks/default.fragment-OyO2ek5x.esm.js.map +0 -1
  369. package/dist/chunks/default.vertex-CNUfzDP1.esm.js +0 -181
  370. package/dist/chunks/default.vertex-CNUfzDP1.esm.js.map +0 -1
  371. package/dist/chunks/default.vertex-CfR6AC0W.esm.js +0 -201
  372. package/dist/chunks/default.vertex-CfR6AC0W.esm.js.map +0 -1
  373. package/dist/chunks/default.vertex-CxON4TPV.esm.min.js +0 -2
  374. package/dist/chunks/default.vertex-CxON4TPV.esm.min.js.map +0 -1
  375. package/dist/chunks/default.vertex-vn2_ZsRf.esm.min.js +0 -2
  376. package/dist/chunks/default.vertex-vn2_ZsRf.esm.min.js.map +0 -1
  377. package/dist/chunks/defaultUboDeclaration-DOEnRk8l.esm.min.js +0 -2
  378. package/dist/chunks/defaultUboDeclaration-DOEnRk8l.esm.min.js.map +0 -1
  379. package/dist/chunks/defaultUboDeclaration-D_cdCN09.esm.js +0 -15
  380. package/dist/chunks/defaultUboDeclaration-D_cdCN09.esm.js.map +0 -1
  381. package/dist/chunks/defaultUboDeclaration-DulGgNIT.esm.js +0 -13
  382. package/dist/chunks/defaultUboDeclaration-DulGgNIT.esm.js.map +0 -1
  383. package/dist/chunks/defaultUboDeclaration-DuvDKzIc.esm.min.js +0 -2
  384. package/dist/chunks/defaultUboDeclaration-DuvDKzIc.esm.min.js.map +0 -1
  385. package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js +0 -11
  386. package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js.map +0 -1
  387. package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js +0 -2
  388. package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js.map +0 -1
  389. package/dist/chunks/dumpTools-CDmW-p2A.esm.js +0 -200
  390. package/dist/chunks/dumpTools-CDmW-p2A.esm.js.map +0 -1
  391. package/dist/chunks/dumpTools-hJHAozcu.esm.min.js +0 -2
  392. package/dist/chunks/dumpTools-hJHAozcu.esm.min.js.map +0 -1
  393. package/dist/chunks/engine-CfBkxMlv.esm.min.js +0 -2
  394. package/dist/chunks/engine-CfBkxMlv.esm.min.js.map +0 -1
  395. package/dist/chunks/engine-DaA20vkg.esm.js +0 -2187
  396. package/dist/chunks/engine-DaA20vkg.esm.js.map +0 -1
  397. package/dist/chunks/engine.common-B1nX1uOv.esm.min.js +0 -2
  398. package/dist/chunks/engine.common-B1nX1uOv.esm.min.js.map +0 -1
  399. package/dist/chunks/engine.common-Da03TQs0.esm.js +0 -1103
  400. package/dist/chunks/engine.common-Da03TQs0.esm.js.map +0 -1
  401. package/dist/chunks/envTextureLoader-BRXi1pZo.esm.js +0 -64
  402. package/dist/chunks/envTextureLoader-BRXi1pZo.esm.js.map +0 -1
  403. package/dist/chunks/envTextureLoader-CS1eu96I.esm.min.js +0 -2
  404. package/dist/chunks/envTextureLoader-CS1eu96I.esm.min.js.map +0 -1
  405. package/dist/chunks/environmentTextureTools-BCSQExyv.esm.js +0 -382
  406. package/dist/chunks/environmentTextureTools-BCSQExyv.esm.js.map +0 -1
  407. package/dist/chunks/environmentTextureTools-DaBia0zg.esm.min.js +0 -2
  408. package/dist/chunks/environmentTextureTools-DaBia0zg.esm.min.js.map +0 -1
  409. package/dist/chunks/exrTextureLoader-DOcIuOg9.esm.min.js +0 -2
  410. package/dist/chunks/exrTextureLoader-DOcIuOg9.esm.min.js.map +0 -1
  411. package/dist/chunks/exrTextureLoader-NVzNFU10.esm.js +0 -1682
  412. package/dist/chunks/exrTextureLoader-NVzNFU10.esm.js.map +0 -1
  413. package/dist/chunks/fogFragment-7C9DmW8b.esm.js +0 -102
  414. package/dist/chunks/fogFragment-7C9DmW8b.esm.js.map +0 -1
  415. package/dist/chunks/fogFragment-B9F5aJAx.esm.min.js +0 -2
  416. package/dist/chunks/fogFragment-B9F5aJAx.esm.min.js.map +0 -1
  417. package/dist/chunks/fogFragment-BnQp0Spj.esm.js +0 -101
  418. package/dist/chunks/fogFragment-BnQp0Spj.esm.js.map +0 -1
  419. package/dist/chunks/fogFragment-Rqu9S2gV.esm.min.js +0 -2
  420. package/dist/chunks/fogFragment-Rqu9S2gV.esm.min.js.map +0 -1
  421. package/dist/chunks/fresnelFunction--bGC1bW6.esm.min.js +0 -2
  422. package/dist/chunks/fresnelFunction--bGC1bW6.esm.min.js.map +0 -1
  423. package/dist/chunks/fresnelFunction-YurpC61U.esm.js +0 -12
  424. package/dist/chunks/fresnelFunction-YurpC61U.esm.js.map +0 -1
  425. package/dist/chunks/glTFLoader--eb4oZZe.esm.min.js +0 -2
  426. package/dist/chunks/glTFLoader--eb4oZZe.esm.min.js.map +0 -1
  427. package/dist/chunks/glTFLoader-DDABr3tc.esm.js +0 -7595
  428. package/dist/chunks/glTFLoader-DDABr3tc.esm.js.map +0 -1
  429. package/dist/chunks/glTFLoaderAnimation-C_jvKQZc.esm.min.js +0 -2
  430. package/dist/chunks/glTFLoaderAnimation-C_jvKQZc.esm.min.js.map +0 -1
  431. package/dist/chunks/glTFLoaderAnimation-Ce1T-HK4.esm.js +0 -77
  432. package/dist/chunks/glTFLoaderAnimation-Ce1T-HK4.esm.js.map +0 -1
  433. package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js +0 -2
  434. package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js.map +0 -1
  435. package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js +0 -67
  436. package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js.map +0 -1
  437. package/dist/chunks/harmonicsFunctions-BVJDExzF.esm.js +0 -35
  438. package/dist/chunks/harmonicsFunctions-BVJDExzF.esm.js.map +0 -1
  439. package/dist/chunks/harmonicsFunctions-Cpf19SYh.esm.min.js +0 -2
  440. package/dist/chunks/harmonicsFunctions-Cpf19SYh.esm.min.js.map +0 -1
  441. package/dist/chunks/harmonicsFunctions-EwGi7mvH.esm.js +0 -34
  442. package/dist/chunks/harmonicsFunctions-EwGi7mvH.esm.js.map +0 -1
  443. package/dist/chunks/harmonicsFunctions-sCDYMnE7.esm.min.js +0 -2
  444. package/dist/chunks/harmonicsFunctions-sCDYMnE7.esm.min.js.map +0 -1
  445. package/dist/chunks/hdrTextureLoader-CHt5g_Ro.esm.js +0 -252
  446. package/dist/chunks/hdrTextureLoader-CHt5g_Ro.esm.js.map +0 -1
  447. package/dist/chunks/hdrTextureLoader-CcljcQGM.esm.min.js +0 -2
  448. package/dist/chunks/hdrTextureLoader-CcljcQGM.esm.min.js.map +0 -1
  449. package/dist/chunks/helperFunctions-BLQP90J_.esm.min.js +0 -2
  450. package/dist/chunks/helperFunctions-BLQP90J_.esm.min.js.map +0 -1
  451. package/dist/chunks/helperFunctions-BeWEDUrw.esm.js +0 -108
  452. package/dist/chunks/helperFunctions-BeWEDUrw.esm.js.map +0 -1
  453. package/dist/chunks/helperFunctions-CkmR3WUA.esm.min.js +0 -2
  454. package/dist/chunks/helperFunctions-CkmR3WUA.esm.min.js.map +0 -1
  455. package/dist/chunks/helperFunctions-Vnio5Zy4.esm.js +0 -80
  456. package/dist/chunks/helperFunctions-Vnio5Zy4.esm.js.map +0 -1
  457. package/dist/chunks/index-CVMH5-nD.esm.js +0 -74148
  458. package/dist/chunks/index-CVMH5-nD.esm.js.map +0 -1
  459. package/dist/chunks/index-bkYfr-SD.esm.min.js +0 -57
  460. package/dist/chunks/index-bkYfr-SD.esm.min.js.map +0 -1
  461. package/dist/chunks/ktxTextureLoader-CmYn3AjU.esm.min.js +0 -2
  462. package/dist/chunks/ktxTextureLoader-CmYn3AjU.esm.min.js.map +0 -1
  463. package/dist/chunks/ktxTextureLoader-Ct4ygDpl.esm.js +0 -814
  464. package/dist/chunks/ktxTextureLoader-Ct4ygDpl.esm.js.map +0 -1
  465. package/dist/chunks/logDepthDeclaration-CCVJgklB.esm.js +0 -11
  466. package/dist/chunks/logDepthDeclaration-CCVJgklB.esm.js.map +0 -1
  467. package/dist/chunks/logDepthDeclaration-CmefuysH.esm.min.js +0 -2
  468. package/dist/chunks/logDepthDeclaration-CmefuysH.esm.min.js.map +0 -1
  469. package/dist/chunks/logDepthDeclaration-kbT8jgiS.esm.js +0 -35
  470. package/dist/chunks/logDepthDeclaration-kbT8jgiS.esm.js.map +0 -1
  471. package/dist/chunks/logDepthDeclaration-utQE6RQm.esm.min.js +0 -2
  472. package/dist/chunks/logDepthDeclaration-utQE6RQm.esm.min.js.map +0 -1
  473. package/dist/chunks/logDepthVertex-BwAXuZcJ.esm.js +0 -77
  474. package/dist/chunks/logDepthVertex-BwAXuZcJ.esm.js.map +0 -1
  475. package/dist/chunks/logDepthVertex-CIU5ihJc.esm.min.js +0 -2
  476. package/dist/chunks/logDepthVertex-CIU5ihJc.esm.min.js.map +0 -1
  477. package/dist/chunks/logDepthVertex-DBdj3JQF.esm.js +0 -77
  478. package/dist/chunks/logDepthVertex-DBdj3JQF.esm.js.map +0 -1
  479. package/dist/chunks/logDepthVertex-L5SVOP7a.esm.min.js +0 -2
  480. package/dist/chunks/logDepthVertex-L5SVOP7a.esm.min.js.map +0 -1
  481. package/dist/chunks/mainUVVaryingDeclaration-BjN3rZcV.esm.js +0 -11
  482. package/dist/chunks/mainUVVaryingDeclaration-BjN3rZcV.esm.js.map +0 -1
  483. package/dist/chunks/mainUVVaryingDeclaration-CS8fR4k6.esm.min.js +0 -2
  484. package/dist/chunks/mainUVVaryingDeclaration-CS8fR4k6.esm.min.js.map +0 -1
  485. package/dist/chunks/mainUVVaryingDeclaration-F_ldv7kC.esm.min.js +0 -2
  486. package/dist/chunks/mainUVVaryingDeclaration-F_ldv7kC.esm.min.js.map +0 -1
  487. package/dist/chunks/mainUVVaryingDeclaration-JJ1eiwN7.esm.js +0 -11
  488. package/dist/chunks/mainUVVaryingDeclaration-JJ1eiwN7.esm.js.map +0 -1
  489. package/dist/chunks/meshUboDeclaration-Cqhjf76p.esm.min.js +0 -2
  490. package/dist/chunks/meshUboDeclaration-Cqhjf76p.esm.min.js.map +0 -1
  491. package/dist/chunks/meshUboDeclaration-TC3Qb9qA.esm.js +0 -24
  492. package/dist/chunks/meshUboDeclaration-TC3Qb9qA.esm.js.map +0 -1
  493. package/dist/chunks/objFileLoader-DUbUzdM7.esm.js +0 -1338
  494. package/dist/chunks/objFileLoader-DUbUzdM7.esm.js.map +0 -1
  495. package/dist/chunks/objFileLoader-cuX0R9Ll.esm.min.js +0 -2
  496. package/dist/chunks/objFileLoader-cuX0R9Ll.esm.min.js.map +0 -1
  497. package/dist/chunks/oitFragment-BuvtdYuN.esm.min.js +0 -2
  498. package/dist/chunks/oitFragment-BuvtdYuN.esm.min.js.map +0 -1
  499. package/dist/chunks/oitFragment-CsHXm-hs.esm.min.js +0 -2
  500. package/dist/chunks/oitFragment-CsHXm-hs.esm.min.js.map +0 -1
  501. package/dist/chunks/oitFragment-Jsj4VCRm.esm.js +0 -1051
  502. package/dist/chunks/oitFragment-Jsj4VCRm.esm.js.map +0 -1
  503. package/dist/chunks/oitFragment-bE1j7vLE.esm.js +0 -1210
  504. package/dist/chunks/oitFragment-bE1j7vLE.esm.js.map +0 -1
  505. package/dist/chunks/pass.fragment-7Tm4v4I5.esm.min.js +0 -2
  506. package/dist/chunks/pass.fragment-7Tm4v4I5.esm.min.js.map +0 -1
  507. package/dist/chunks/pass.fragment-Bim4VPEO.esm.js +0 -15
  508. package/dist/chunks/pass.fragment-Bim4VPEO.esm.js.map +0 -1
  509. package/dist/chunks/pass.fragment-CYz9acmH.esm.js +0 -15
  510. package/dist/chunks/pass.fragment-CYz9acmH.esm.js.map +0 -1
  511. package/dist/chunks/pass.fragment-CzPpw3iK.esm.min.js +0 -2
  512. package/dist/chunks/pass.fragment-CzPpw3iK.esm.min.js.map +0 -1
  513. package/dist/chunks/pbr.fragment-C0EyEtjU.esm.js +0 -3218
  514. package/dist/chunks/pbr.fragment-C0EyEtjU.esm.js.map +0 -1
  515. package/dist/chunks/pbr.fragment-D7KGHlr3.esm.min.js +0 -2
  516. package/dist/chunks/pbr.fragment-D7KGHlr3.esm.min.js.map +0 -1
  517. package/dist/chunks/pbr.fragment-DRo704mz.esm.js +0 -3164
  518. package/dist/chunks/pbr.fragment-DRo704mz.esm.js.map +0 -1
  519. package/dist/chunks/pbr.fragment-Dw30RsZq.esm.min.js +0 -2
  520. package/dist/chunks/pbr.fragment-Dw30RsZq.esm.min.js.map +0 -1
  521. package/dist/chunks/pbr.vertex-BFjD6j1a.esm.min.js +0 -2
  522. package/dist/chunks/pbr.vertex-BFjD6j1a.esm.min.js.map +0 -1
  523. package/dist/chunks/pbr.vertex-BNL0Ih3S.esm.js +0 -214
  524. package/dist/chunks/pbr.vertex-BNL0Ih3S.esm.js.map +0 -1
  525. package/dist/chunks/pbr.vertex-DCYsZj4K.esm.js +0 -338
  526. package/dist/chunks/pbr.vertex-DCYsZj4K.esm.js.map +0 -1
  527. package/dist/chunks/pbr.vertex-DQWB7B3n.esm.min.js +0 -2
  528. package/dist/chunks/pbr.vertex-DQWB7B3n.esm.min.js.map +0 -1
  529. package/dist/chunks/postprocess.vertex-BKTxzIr3.esm.js +0 -20
  530. package/dist/chunks/postprocess.vertex-BKTxzIr3.esm.js.map +0 -1
  531. package/dist/chunks/postprocess.vertex-BLM-tBsI.esm.min.js +0 -2
  532. package/dist/chunks/postprocess.vertex-BLM-tBsI.esm.min.js.map +0 -1
  533. package/dist/chunks/rawTexture-B4sxPzau.esm.js +0 -191
  534. package/dist/chunks/rawTexture-B4sxPzau.esm.js.map +0 -1
  535. package/dist/chunks/rawTexture-C8eTjsTL.esm.min.js +0 -2
  536. package/dist/chunks/rawTexture-C8eTjsTL.esm.min.js.map +0 -1
  537. package/dist/chunks/rgbdDecode.fragment-B1JRUB2c.esm.js +0 -17
  538. package/dist/chunks/rgbdDecode.fragment-B1JRUB2c.esm.js.map +0 -1
  539. package/dist/chunks/rgbdDecode.fragment-BQDhe3Gm.esm.min.js +0 -2
  540. package/dist/chunks/rgbdDecode.fragment-BQDhe3Gm.esm.min.js.map +0 -1
  541. package/dist/chunks/rgbdDecode.fragment-Bqwzk3c0.esm.js +0 -17
  542. package/dist/chunks/rgbdDecode.fragment-Bqwzk3c0.esm.js.map +0 -1
  543. package/dist/chunks/rgbdDecode.fragment-De929itq.esm.min.js +0 -2
  544. package/dist/chunks/rgbdDecode.fragment-De929itq.esm.min.js.map +0 -1
  545. package/dist/chunks/rgbdEncode.fragment-B2mbOgZ1.esm.js +0 -17
  546. package/dist/chunks/rgbdEncode.fragment-B2mbOgZ1.esm.js.map +0 -1
  547. package/dist/chunks/rgbdEncode.fragment-BR4bMAPw.esm.min.js +0 -2
  548. package/dist/chunks/rgbdEncode.fragment-BR4bMAPw.esm.min.js.map +0 -1
  549. package/dist/chunks/rgbdEncode.fragment-CnnkzvSU.esm.min.js +0 -2
  550. package/dist/chunks/rgbdEncode.fragment-CnnkzvSU.esm.min.js.map +0 -1
  551. package/dist/chunks/rgbdEncode.fragment-DdsDf_tZ.esm.js +0 -17
  552. package/dist/chunks/rgbdEncode.fragment-DdsDf_tZ.esm.js.map +0 -1
  553. package/dist/chunks/splatFileLoader-ByV2g6RW.esm.js +0 -3947
  554. package/dist/chunks/splatFileLoader-ByV2g6RW.esm.js.map +0 -1
  555. package/dist/chunks/splatFileLoader-DZtkydoO.esm.min.js +0 -2
  556. package/dist/chunks/splatFileLoader-DZtkydoO.esm.min.js.map +0 -1
  557. package/dist/chunks/standardMaterial-DUti--Yk.esm.js +0 -1805
  558. package/dist/chunks/standardMaterial-DUti--Yk.esm.js.map +0 -1
  559. package/dist/chunks/standardMaterial-DxPZ0yEO.esm.min.js +0 -2
  560. package/dist/chunks/standardMaterial-DxPZ0yEO.esm.min.js.map +0 -1
  561. package/dist/chunks/stlFileLoader-BddM0ohC.esm.js +0 -238
  562. package/dist/chunks/stlFileLoader-BddM0ohC.esm.js.map +0 -1
  563. package/dist/chunks/stlFileLoader-Daj_Ow9k.esm.min.js +0 -2
  564. package/dist/chunks/stlFileLoader-Daj_Ow9k.esm.min.js.map +0 -1
  565. package/dist/chunks/tgaTextureLoader-DDmm8z9e.esm.js +0 -349
  566. package/dist/chunks/tgaTextureLoader-DDmm8z9e.esm.js.map +0 -1
  567. package/dist/chunks/tgaTextureLoader-NZ1m7gDb.esm.min.js +0 -2
  568. package/dist/chunks/tgaTextureLoader-NZ1m7gDb.esm.min.js.map +0 -1
  569. package/dist/chunks/thinEngine-CvGTeAY9.esm.js +0 -3723
  570. package/dist/chunks/thinEngine-CvGTeAY9.esm.js.map +0 -1
  571. package/dist/chunks/thinEngine-Czvj0W_2.esm.min.js +0 -2
  572. package/dist/chunks/thinEngine-Czvj0W_2.esm.min.js.map +0 -1
  573. package/dist/chunks/thinInstanceMesh-BGeYKYJu.esm.js +0 -314
  574. package/dist/chunks/thinInstanceMesh-BGeYKYJu.esm.js.map +0 -1
  575. package/dist/chunks/thinInstanceMesh-Byk1sPWi.esm.min.js +0 -2
  576. package/dist/chunks/thinInstanceMesh-Byk1sPWi.esm.min.js.map +0 -1
  577. package/dist/chunks/vertexColorMixing-5MVqrbuQ.esm.js +0 -412
  578. package/dist/chunks/vertexColorMixing-5MVqrbuQ.esm.js.map +0 -1
  579. package/dist/chunks/vertexColorMixing-BTHtPksv.esm.min.js +0 -2
  580. package/dist/chunks/vertexColorMixing-BTHtPksv.esm.min.js.map +0 -1
  581. package/dist/chunks/vertexColorMixing-C-JxO1th.esm.js +0 -522
  582. package/dist/chunks/vertexColorMixing-C-JxO1th.esm.js.map +0 -1
  583. package/dist/chunks/vertexColorMixing-DpW1_vsz.esm.min.js +0 -2
  584. package/dist/chunks/vertexColorMixing-DpW1_vsz.esm.min.js.map +0 -1
  585. package/dist/chunks/webgpuEngine-Dz_96swZ.esm.min.js +0 -2
  586. package/dist/chunks/webgpuEngine-Dz_96swZ.esm.min.js.map +0 -1
  587. package/dist/chunks/webgpuEngine-iwYQqIrX.esm.js +0 -11465
  588. package/dist/chunks/webgpuEngine-iwYQqIrX.esm.js.map +0 -1
  589. package/dist/chunks/workerPool-BUOov2K1.esm.js +0 -122
  590. package/dist/chunks/workerPool-BUOov2K1.esm.js.map +0 -1
  591. package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js +0 -2
  592. package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js.map +0 -1
  593. package/docs/ViewerDefault.jpg +0 -0
  594. package/docs/ViewerParts.jpg +0 -0
  595. package/docs/ViewerSlots.jpg +0 -0
  596. package/docs/ViewerStyled.jpg +0 -0
  597. package/lib/index.d.ts +0 -534
  598. package/lib/index.js +0 -1939
  599. package/lib/index.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import{i as e}from"./index-bkYfr-SD.esm.min.js";import"./vertexColorMixing-BTHtPksv.esm.min.js";import"./harmonicsFunctions-sCDYMnE7.esm.min.js";import"./mainUVVaryingDeclaration-CS8fR4k6.esm.min.js";import"./helperFunctions-BLQP90J_.esm.min.js";import"./logDepthVertex-CIU5ihJc.esm.min.js";import"./logDepthDeclaration-CmefuysH.esm.min.js";e.IncludesShadersStore.pbrVertexDeclaration="uniform mat4 view;uniform mat4 viewProjection;\n#ifdef MULTIVIEW\nmat4 viewProjectionR;\n#endif \n#ifdef ALBEDO\nuniform mat4 albedoMatrix;uniform vec2 vAlbedoInfos;\n#endif\n#ifdef AMBIENT\nuniform mat4 ambientMatrix;uniform vec4 vAmbientInfos;\n#endif\n#ifdef OPACITY\nuniform mat4 opacityMatrix;uniform vec2 vOpacityInfos;\n#endif\n#ifdef EMISSIVE\nuniform vec2 vEmissiveInfos;uniform mat4 emissiveMatrix;\n#endif\n#ifdef LIGHTMAP\nuniform vec2 vLightmapInfos;uniform mat4 lightmapMatrix;\n#endif\n#ifdef REFLECTIVITY \nuniform vec3 vReflectivityInfos;uniform mat4 reflectivityMatrix;\n#endif\n#ifdef METALLIC_REFLECTANCE\nuniform vec2 vMetallicReflectanceInfos;uniform mat4 metallicReflectanceMatrix;\n#endif\n#ifdef REFLECTANCE\nuniform vec2 vReflectanceInfos;uniform mat4 reflectanceMatrix;\n#endif\n#ifdef MICROSURFACEMAP\nuniform vec2 vMicroSurfaceSamplerInfos;uniform mat4 microSurfaceSamplerMatrix;\n#endif\n#ifdef BUMP\nuniform vec3 vBumpInfos;uniform mat4 bumpMatrix;\n#endif\n#ifdef POINTSIZE\nuniform float pointSize;\n#endif\n#ifdef REFLECTION\nuniform vec2 vReflectionInfos;uniform mat4 reflectionMatrix;\n#endif\n#ifdef CLEARCOAT\n#if defined(CLEARCOAT_TEXTURE) || defined(CLEARCOAT_TEXTURE_ROUGHNESS)\nuniform vec4 vClearCoatInfos;\n#endif\n#ifdef CLEARCOAT_TEXTURE\nuniform mat4 clearCoatMatrix;\n#endif\n#ifdef CLEARCOAT_TEXTURE_ROUGHNESS\nuniform mat4 clearCoatRoughnessMatrix;\n#endif\n#ifdef CLEARCOAT_BUMP\nuniform vec2 vClearCoatBumpInfos;uniform mat4 clearCoatBumpMatrix;\n#endif\n#ifdef CLEARCOAT_TINT_TEXTURE\nuniform vec2 vClearCoatTintInfos;uniform mat4 clearCoatTintMatrix;\n#endif\n#endif\n#ifdef IRIDESCENCE\n#if defined(IRIDESCENCE_TEXTURE) || defined(IRIDESCENCE_THICKNESS_TEXTURE)\nuniform vec4 vIridescenceInfos;\n#endif\n#ifdef IRIDESCENCE_TEXTURE\nuniform mat4 iridescenceMatrix;\n#endif\n#ifdef IRIDESCENCE_THICKNESS_TEXTURE\nuniform mat4 iridescenceThicknessMatrix;\n#endif\n#endif\n#ifdef ANISOTROPIC\n#ifdef ANISOTROPIC_TEXTURE\nuniform vec2 vAnisotropyInfos;uniform mat4 anisotropyMatrix;\n#endif\n#endif\n#ifdef SHEEN\n#if defined(SHEEN_TEXTURE) || defined(SHEEN_TEXTURE_ROUGHNESS)\nuniform vec4 vSheenInfos;\n#endif\n#ifdef SHEEN_TEXTURE\nuniform mat4 sheenMatrix;\n#endif\n#ifdef SHEEN_TEXTURE_ROUGHNESS\nuniform mat4 sheenRoughnessMatrix;\n#endif\n#endif\n#ifdef SUBSURFACE\n#ifdef SS_REFRACTION\nuniform vec4 vRefractionInfos;uniform mat4 refractionMatrix;\n#endif\n#ifdef SS_THICKNESSANDMASK_TEXTURE\nuniform vec2 vThicknessInfos;uniform mat4 thicknessMatrix;\n#endif\n#ifdef SS_REFRACTIONINTENSITY_TEXTURE\nuniform vec2 vRefractionIntensityInfos;uniform mat4 refractionIntensityMatrix;\n#endif\n#ifdef SS_TRANSLUCENCYINTENSITY_TEXTURE\nuniform vec2 vTranslucencyIntensityInfos;uniform mat4 translucencyIntensityMatrix;\n#endif\n#ifdef SS_TRANSLUCENCYCOLOR_TEXTURE\nuniform vec2 vTranslucencyColorInfos;uniform mat4 translucencyColorMatrix;\n#endif\n#endif\n#ifdef NORMAL\n#if defined(USESPHERICALFROMREFLECTIONMAP) && defined(USESPHERICALINVERTEX)\n#ifdef USESPHERICALFROMREFLECTIONMAP\n#ifdef SPHERICAL_HARMONICS\nuniform vec3 vSphericalL00;uniform vec3 vSphericalL1_1;uniform vec3 vSphericalL10;uniform vec3 vSphericalL11;uniform vec3 vSphericalL2_2;uniform vec3 vSphericalL2_1;uniform vec3 vSphericalL20;uniform vec3 vSphericalL21;uniform vec3 vSphericalL22;\n#else\nuniform vec3 vSphericalX;uniform vec3 vSphericalY;uniform vec3 vSphericalZ;uniform vec3 vSphericalXX_ZZ;uniform vec3 vSphericalYY_ZZ;uniform vec3 vSphericalZZ;uniform vec3 vSphericalXY;uniform vec3 vSphericalYZ;uniform vec3 vSphericalZX;\n#endif\n#endif\n#endif\n#endif\n#ifdef DETAIL\nuniform vec4 vDetailInfos;uniform mat4 detailMatrix;\n#endif\n#include<decalVertexDeclaration>\n#define ADDITIONAL_VERTEX_DECLARATION\n";const n="pbrVertexShader",i="precision highp float;\n#include<__decl__pbrVertex>\n#define CUSTOM_VERTEX_BEGIN\nattribute vec3 position;\n#ifdef NORMAL\nattribute vec3 normal;\n#endif\n#ifdef TANGENT\nattribute vec4 tangent;\n#endif\n#ifdef UV1\nattribute vec2 uv;\n#endif\n#include<uvAttributeDeclaration>[2..7]\n#include<mainUVVaryingDeclaration>[1..7]\n#ifdef VERTEXCOLOR\nattribute vec4 color;\n#endif\n#include<helperFunctions>\n#include<bonesDeclaration>\n#include<bakedVertexAnimationDeclaration>\n#include<instancesDeclaration>\n#include<prePassVertexDeclaration>\n#include<samplerVertexDeclaration>(_DEFINENAME_,ALBEDO,_VARYINGNAME_,Albedo)\n#include<samplerVertexDeclaration>(_DEFINENAME_,DETAIL,_VARYINGNAME_,Detail)\n#include<samplerVertexDeclaration>(_DEFINENAME_,AMBIENT,_VARYINGNAME_,Ambient)\n#include<samplerVertexDeclaration>(_DEFINENAME_,OPACITY,_VARYINGNAME_,Opacity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,EMISSIVE,_VARYINGNAME_,Emissive)\n#include<samplerVertexDeclaration>(_DEFINENAME_,LIGHTMAP,_VARYINGNAME_,Lightmap)\n#include<samplerVertexDeclaration>(_DEFINENAME_,REFLECTIVITY,_VARYINGNAME_,Reflectivity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,MICROSURFACEMAP,_VARYINGNAME_,MicroSurfaceSampler)\n#include<samplerVertexDeclaration>(_DEFINENAME_,METALLIC_REFLECTANCE,_VARYINGNAME_,MetallicReflectance)\n#include<samplerVertexDeclaration>(_DEFINENAME_,REFLECTANCE,_VARYINGNAME_,Reflectance)\n#include<samplerVertexDeclaration>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump)\n#include<samplerVertexDeclaration>(_DEFINENAME_,DECAL,_VARYINGNAME_,Decal)\n#ifdef CLEARCOAT\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_TEXTURE,_VARYINGNAME_,ClearCoat)\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_TEXTURE_ROUGHNESS,_VARYINGNAME_,ClearCoatRoughness)\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_BUMP,_VARYINGNAME_,ClearCoatBump)\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_TINT_TEXTURE,_VARYINGNAME_,ClearCoatTint)\n#endif\n#ifdef IRIDESCENCE\n#include<samplerVertexDeclaration>(_DEFINENAME_,IRIDESCENCE_TEXTURE,_VARYINGNAME_,Iridescence)\n#include<samplerVertexDeclaration>(_DEFINENAME_,IRIDESCENCE_THICKNESS_TEXTURE,_VARYINGNAME_,IridescenceThickness)\n#endif\n#ifdef SHEEN\n#include<samplerVertexDeclaration>(_DEFINENAME_,SHEEN_TEXTURE,_VARYINGNAME_,Sheen)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SHEEN_TEXTURE_ROUGHNESS,_VARYINGNAME_,SheenRoughness)\n#endif\n#ifdef ANISOTROPIC\n#include<samplerVertexDeclaration>(_DEFINENAME_,ANISOTROPIC_TEXTURE,_VARYINGNAME_,Anisotropy)\n#endif\n#ifdef SUBSURFACE\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_THICKNESSANDMASK_TEXTURE,_VARYINGNAME_,Thickness)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_REFRACTIONINTENSITY_TEXTURE,_VARYINGNAME_,RefractionIntensity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_TRANSLUCENCYINTENSITY_TEXTURE,_VARYINGNAME_,TranslucencyIntensity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_TRANSLUCENCYCOLOR_TEXTURE,_VARYINGNAME_,TranslucencyColor)\n#endif\nvarying vec3 vPositionW;\n#if DEBUGMODE>0\nvarying vec4 vClipSpacePosition;\n#endif\n#ifdef NORMAL\nvarying vec3 vNormalW;\n#if defined(USESPHERICALFROMREFLECTIONMAP) && defined(USESPHERICALINVERTEX)\nvarying vec3 vEnvironmentIrradiance;\n#include<harmonicsFunctions>\n#endif\n#endif\n#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)\nvarying vec4 vColor;\n#endif\n#include<bumpVertexDeclaration>\n#include<clipPlaneVertexDeclaration>\n#include<fogVertexDeclaration>\n#include<__decl__lightVxFragment>[0..maxSimultaneousLights]\n#include<morphTargetsVertexGlobalDeclaration>\n#include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]\n#ifdef REFLECTIONMAP_SKYBOX\nvarying vec3 vPositionUVW;\n#endif\n#if defined(REFLECTIONMAP_EQUIRECTANGULAR_FIXED) || defined(REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED)\nvarying vec3 vDirectionW;\n#endif\n#include<logDepthDeclaration>\n#define CUSTOM_VERTEX_DEFINITIONS\nvoid main(void) {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvec3 positionUpdated=position;\n#ifdef NORMAL\nvec3 normalUpdated=normal;\n#endif\n#ifdef TANGENT\nvec4 tangentUpdated=tangent;\n#endif\n#ifdef UV1\nvec2 uvUpdated=uv;\n#endif\n#include<morphTargetsVertexGlobal>\n#include<morphTargetsVertex>[0..maxSimultaneousMorphTargets]\n#ifdef REFLECTIONMAP_SKYBOX\nvPositionUVW=positionUpdated;\n#endif\n#define CUSTOM_VERTEX_UPDATE_POSITION\n#define CUSTOM_VERTEX_UPDATE_NORMAL\n#include<instancesVertex>\n#if defined(PREPASS) && ((defined(PREPASS_VELOCITY) || defined(PREPASS_VELOCITY_LINEAR)) && !defined(BONES_VELOCITY_ENABLED)\nvCurrentPosition=viewProjection*finalWorld*vec4(positionUpdated,1.0);vPreviousPosition=previousViewProjection*finalPreviousWorld*vec4(positionUpdated,1.0);\n#endif\n#include<bonesVertex>\n#include<bakedVertexAnimation>\nvec4 worldPos=finalWorld*vec4(positionUpdated,1.0);vPositionW=vec3(worldPos);\n#ifdef PREPASS\n#include<prePassVertex>\n#endif\n#ifdef NORMAL\nmat3 normalWorld=mat3(finalWorld);\n#if defined(INSTANCES) && defined(THIN_INSTANCES)\nvNormalW=normalUpdated/vec3(dot(normalWorld[0],normalWorld[0]),dot(normalWorld[1],normalWorld[1]),dot(normalWorld[2],normalWorld[2]));vNormalW=normalize(normalWorld*vNormalW);\n#else\n#ifdef NONUNIFORMSCALING\nnormalWorld=transposeMat3(inverseMat3(normalWorld));\n#endif\nvNormalW=normalize(normalWorld*normalUpdated);\n#endif\n#if defined(USESPHERICALFROMREFLECTIONMAP) && defined(USESPHERICALINVERTEX)\nvec3 reflectionVector=vec3(reflectionMatrix*vec4(vNormalW,0)).xyz;\n#ifdef REFLECTIONMAP_OPPOSITEZ\nreflectionVector.z*=-1.0;\n#endif\nvEnvironmentIrradiance=computeEnvironmentIrradiance(reflectionVector);\n#endif\n#endif\n#define CUSTOM_VERTEX_UPDATE_WORLDPOS\n#ifdef MULTIVIEW\nif (gl_ViewID_OVR==0u) {gl_Position=viewProjection*worldPos;} else {gl_Position=viewProjectionR*worldPos;}\n#else\ngl_Position=viewProjection*worldPos;\n#endif\n#if DEBUGMODE>0\nvClipSpacePosition=gl_Position;\n#endif\n#if defined(REFLECTIONMAP_EQUIRECTANGULAR_FIXED) || defined(REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED)\nvDirectionW=normalize(vec3(finalWorld*vec4(positionUpdated,0.0)));\n#endif\n#ifndef UV1\nvec2 uvUpdated=vec2(0.,0.);\n#endif\n#ifdef MAINUV1\nvMainUV1=uvUpdated;\n#endif\n#include<uvVariableDeclaration>[2..7]\n#include<samplerVertexImplementation>(_DEFINENAME_,ALBEDO,_VARYINGNAME_,Albedo,_MATRIXNAME_,albedo,_INFONAME_,AlbedoInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,DETAIL,_VARYINGNAME_,Detail,_MATRIXNAME_,detail,_INFONAME_,DetailInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,AMBIENT,_VARYINGNAME_,Ambient,_MATRIXNAME_,ambient,_INFONAME_,AmbientInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,OPACITY,_VARYINGNAME_,Opacity,_MATRIXNAME_,opacity,_INFONAME_,OpacityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,EMISSIVE,_VARYINGNAME_,Emissive,_MATRIXNAME_,emissive,_INFONAME_,EmissiveInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,LIGHTMAP,_VARYINGNAME_,Lightmap,_MATRIXNAME_,lightmap,_INFONAME_,LightmapInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,REFLECTIVITY,_VARYINGNAME_,Reflectivity,_MATRIXNAME_,reflectivity,_INFONAME_,ReflectivityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,MICROSURFACEMAP,_VARYINGNAME_,MicroSurfaceSampler,_MATRIXNAME_,microSurfaceSampler,_INFONAME_,MicroSurfaceSamplerInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,METALLIC_REFLECTANCE,_VARYINGNAME_,MetallicReflectance,_MATRIXNAME_,metallicReflectance,_INFONAME_,MetallicReflectanceInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,REFLECTANCE,_VARYINGNAME_,Reflectance,_MATRIXNAME_,reflectance,_INFONAME_,ReflectanceInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump,_MATRIXNAME_,bump,_INFONAME_,BumpInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,DECAL,_VARYINGNAME_,Decal,_MATRIXNAME_,decal,_INFONAME_,DecalInfos.x)\n#ifdef CLEARCOAT\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_TEXTURE,_VARYINGNAME_,ClearCoat,_MATRIXNAME_,clearCoat,_INFONAME_,ClearCoatInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_TEXTURE_ROUGHNESS,_VARYINGNAME_,ClearCoatRoughness,_MATRIXNAME_,clearCoatRoughness,_INFONAME_,ClearCoatInfos.z)\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_BUMP,_VARYINGNAME_,ClearCoatBump,_MATRIXNAME_,clearCoatBump,_INFONAME_,ClearCoatBumpInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_TINT_TEXTURE,_VARYINGNAME_,ClearCoatTint,_MATRIXNAME_,clearCoatTint,_INFONAME_,ClearCoatTintInfos.x)\n#endif\n#ifdef IRIDESCENCE\n#include<samplerVertexImplementation>(_DEFINENAME_,IRIDESCENCE_TEXTURE,_VARYINGNAME_,Iridescence,_MATRIXNAME_,iridescence,_INFONAME_,IridescenceInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,IRIDESCENCE_THICKNESS_TEXTURE,_VARYINGNAME_,IridescenceThickness,_MATRIXNAME_,iridescenceThickness,_INFONAME_,IridescenceInfos.z)\n#endif\n#ifdef SHEEN\n#include<samplerVertexImplementation>(_DEFINENAME_,SHEEN_TEXTURE,_VARYINGNAME_,Sheen,_MATRIXNAME_,sheen,_INFONAME_,SheenInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SHEEN_TEXTURE_ROUGHNESS,_VARYINGNAME_,SheenRoughness,_MATRIXNAME_,sheenRoughness,_INFONAME_,SheenInfos.z)\n#endif\n#ifdef ANISOTROPIC\n#include<samplerVertexImplementation>(_DEFINENAME_,ANISOTROPIC_TEXTURE,_VARYINGNAME_,Anisotropy,_MATRIXNAME_,anisotropy,_INFONAME_,AnisotropyInfos.x)\n#endif\n#ifdef SUBSURFACE\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_THICKNESSANDMASK_TEXTURE,_VARYINGNAME_,Thickness,_MATRIXNAME_,thickness,_INFONAME_,ThicknessInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_REFRACTIONINTENSITY_TEXTURE,_VARYINGNAME_,RefractionIntensity,_MATRIXNAME_,refractionIntensity,_INFONAME_,RefractionIntensityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_TRANSLUCENCYINTENSITY_TEXTURE,_VARYINGNAME_,TranslucencyIntensity,_MATRIXNAME_,translucencyIntensity,_INFONAME_,TranslucencyIntensityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_TRANSLUCENCYCOLOR_TEXTURE,_VARYINGNAME_,TranslucencyColor,_MATRIXNAME_,translucencyColor,_INFONAME_,TranslucencyColorInfos.x)\n#endif\n#include<bumpVertex>\n#include<clipPlaneVertex>\n#include<fogVertex>\n#include<shadowsVertex>[0..maxSimultaneousLights]\n#include<vertexColorMixing>\n#if defined(POINTSIZE) && !defined(WEBGPU)\ngl_PointSize=pointSize;\n#endif\n#include<logDepthVertex>\n#define CUSTOM_VERTEX_MAIN_END\n}";e.ShadersStore[n]=i;const E={name:n,shader:i};export{E as pbrVertexShader};
2
- //# sourceMappingURL=pbr.vertex-DQWB7B3n.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pbr.vertex-DQWB7B3n.esm.min.js","sources":["../../../../../dev/core/dist/Shaders/ShadersInclude/pbrVertexDeclaration.js","../../../../../dev/core/dist/Shaders/pbr.vertex.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../../Engines/shaderStore\";\nimport \"./decalVertexDeclaration\";\nconst name = \"pbrVertexDeclaration\";\nconst shader = `uniform mat4 view;uniform mat4 viewProjection;\n#ifdef MULTIVIEW\nmat4 viewProjectionR;\n#endif \n#ifdef ALBEDO\nuniform mat4 albedoMatrix;uniform vec2 vAlbedoInfos;\n#endif\n#ifdef AMBIENT\nuniform mat4 ambientMatrix;uniform vec4 vAmbientInfos;\n#endif\n#ifdef OPACITY\nuniform mat4 opacityMatrix;uniform vec2 vOpacityInfos;\n#endif\n#ifdef EMISSIVE\nuniform vec2 vEmissiveInfos;uniform mat4 emissiveMatrix;\n#endif\n#ifdef LIGHTMAP\nuniform vec2 vLightmapInfos;uniform mat4 lightmapMatrix;\n#endif\n#ifdef REFLECTIVITY \nuniform vec3 vReflectivityInfos;uniform mat4 reflectivityMatrix;\n#endif\n#ifdef METALLIC_REFLECTANCE\nuniform vec2 vMetallicReflectanceInfos;uniform mat4 metallicReflectanceMatrix;\n#endif\n#ifdef REFLECTANCE\nuniform vec2 vReflectanceInfos;uniform mat4 reflectanceMatrix;\n#endif\n#ifdef MICROSURFACEMAP\nuniform vec2 vMicroSurfaceSamplerInfos;uniform mat4 microSurfaceSamplerMatrix;\n#endif\n#ifdef BUMP\nuniform vec3 vBumpInfos;uniform mat4 bumpMatrix;\n#endif\n#ifdef POINTSIZE\nuniform float pointSize;\n#endif\n#ifdef REFLECTION\nuniform vec2 vReflectionInfos;uniform mat4 reflectionMatrix;\n#endif\n#ifdef CLEARCOAT\n#if defined(CLEARCOAT_TEXTURE) || defined(CLEARCOAT_TEXTURE_ROUGHNESS)\nuniform vec4 vClearCoatInfos;\n#endif\n#ifdef CLEARCOAT_TEXTURE\nuniform mat4 clearCoatMatrix;\n#endif\n#ifdef CLEARCOAT_TEXTURE_ROUGHNESS\nuniform mat4 clearCoatRoughnessMatrix;\n#endif\n#ifdef CLEARCOAT_BUMP\nuniform vec2 vClearCoatBumpInfos;uniform mat4 clearCoatBumpMatrix;\n#endif\n#ifdef CLEARCOAT_TINT_TEXTURE\nuniform vec2 vClearCoatTintInfos;uniform mat4 clearCoatTintMatrix;\n#endif\n#endif\n#ifdef IRIDESCENCE\n#if defined(IRIDESCENCE_TEXTURE) || defined(IRIDESCENCE_THICKNESS_TEXTURE)\nuniform vec4 vIridescenceInfos;\n#endif\n#ifdef IRIDESCENCE_TEXTURE\nuniform mat4 iridescenceMatrix;\n#endif\n#ifdef IRIDESCENCE_THICKNESS_TEXTURE\nuniform mat4 iridescenceThicknessMatrix;\n#endif\n#endif\n#ifdef ANISOTROPIC\n#ifdef ANISOTROPIC_TEXTURE\nuniform vec2 vAnisotropyInfos;uniform mat4 anisotropyMatrix;\n#endif\n#endif\n#ifdef SHEEN\n#if defined(SHEEN_TEXTURE) || defined(SHEEN_TEXTURE_ROUGHNESS)\nuniform vec4 vSheenInfos;\n#endif\n#ifdef SHEEN_TEXTURE\nuniform mat4 sheenMatrix;\n#endif\n#ifdef SHEEN_TEXTURE_ROUGHNESS\nuniform mat4 sheenRoughnessMatrix;\n#endif\n#endif\n#ifdef SUBSURFACE\n#ifdef SS_REFRACTION\nuniform vec4 vRefractionInfos;uniform mat4 refractionMatrix;\n#endif\n#ifdef SS_THICKNESSANDMASK_TEXTURE\nuniform vec2 vThicknessInfos;uniform mat4 thicknessMatrix;\n#endif\n#ifdef SS_REFRACTIONINTENSITY_TEXTURE\nuniform vec2 vRefractionIntensityInfos;uniform mat4 refractionIntensityMatrix;\n#endif\n#ifdef SS_TRANSLUCENCYINTENSITY_TEXTURE\nuniform vec2 vTranslucencyIntensityInfos;uniform mat4 translucencyIntensityMatrix;\n#endif\n#ifdef SS_TRANSLUCENCYCOLOR_TEXTURE\nuniform vec2 vTranslucencyColorInfos;uniform mat4 translucencyColorMatrix;\n#endif\n#endif\n#ifdef NORMAL\n#if defined(USESPHERICALFROMREFLECTIONMAP) && defined(USESPHERICALINVERTEX)\n#ifdef USESPHERICALFROMREFLECTIONMAP\n#ifdef SPHERICAL_HARMONICS\nuniform vec3 vSphericalL00;uniform vec3 vSphericalL1_1;uniform vec3 vSphericalL10;uniform vec3 vSphericalL11;uniform vec3 vSphericalL2_2;uniform vec3 vSphericalL2_1;uniform vec3 vSphericalL20;uniform vec3 vSphericalL21;uniform vec3 vSphericalL22;\n#else\nuniform vec3 vSphericalX;uniform vec3 vSphericalY;uniform vec3 vSphericalZ;uniform vec3 vSphericalXX_ZZ;uniform vec3 vSphericalYY_ZZ;uniform vec3 vSphericalZZ;uniform vec3 vSphericalXY;uniform vec3 vSphericalYZ;uniform vec3 vSphericalZX;\n#endif\n#endif\n#endif\n#endif\n#ifdef DETAIL\nuniform vec4 vDetailInfos;uniform mat4 detailMatrix;\n#endif\n#include<decalVertexDeclaration>\n#define ADDITIONAL_VERTEX_DECLARATION\n`;\n// Sideeffect\nShaderStore.IncludesShadersStore[name] = shader;\n/** @internal */\nexport const pbrVertexDeclaration = { name, shader };\n//# sourceMappingURL=pbrVertexDeclaration.js.map","// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/pbrVertexDeclaration\";\nimport \"./ShadersInclude/pbrUboDeclaration\";\nimport \"./ShadersInclude/uvAttributeDeclaration\";\nimport \"./ShadersInclude/mainUVVaryingDeclaration\";\nimport \"./ShadersInclude/helperFunctions\";\nimport \"./ShadersInclude/bonesDeclaration\";\nimport \"./ShadersInclude/bakedVertexAnimationDeclaration\";\nimport \"./ShadersInclude/instancesDeclaration\";\nimport \"./ShadersInclude/prePassVertexDeclaration\";\nimport \"./ShadersInclude/samplerVertexDeclaration\";\nimport \"./ShadersInclude/harmonicsFunctions\";\nimport \"./ShadersInclude/bumpVertexDeclaration\";\nimport \"./ShadersInclude/clipPlaneVertexDeclaration\";\nimport \"./ShadersInclude/fogVertexDeclaration\";\nimport \"./ShadersInclude/lightVxFragmentDeclaration\";\nimport \"./ShadersInclude/lightVxUboDeclaration\";\nimport \"./ShadersInclude/morphTargetsVertexGlobalDeclaration\";\nimport \"./ShadersInclude/morphTargetsVertexDeclaration\";\nimport \"./ShadersInclude/logDepthDeclaration\";\nimport \"./ShadersInclude/morphTargetsVertexGlobal\";\nimport \"./ShadersInclude/morphTargetsVertex\";\nimport \"./ShadersInclude/instancesVertex\";\nimport \"./ShadersInclude/bonesVertex\";\nimport \"./ShadersInclude/bakedVertexAnimation\";\nimport \"./ShadersInclude/prePassVertex\";\nimport \"./ShadersInclude/uvVariableDeclaration\";\nimport \"./ShadersInclude/samplerVertexImplementation\";\nimport \"./ShadersInclude/bumpVertex\";\nimport \"./ShadersInclude/clipPlaneVertex\";\nimport \"./ShadersInclude/fogVertex\";\nimport \"./ShadersInclude/shadowsVertex\";\nimport \"./ShadersInclude/vertexColorMixing\";\nimport \"./ShadersInclude/logDepthVertex\";\nconst name = \"pbrVertexShader\";\nconst shader = `precision highp float;\n#include<__decl__pbrVertex>\n#define CUSTOM_VERTEX_BEGIN\nattribute vec3 position;\n#ifdef NORMAL\nattribute vec3 normal;\n#endif\n#ifdef TANGENT\nattribute vec4 tangent;\n#endif\n#ifdef UV1\nattribute vec2 uv;\n#endif\n#include<uvAttributeDeclaration>[2..7]\n#include<mainUVVaryingDeclaration>[1..7]\n#ifdef VERTEXCOLOR\nattribute vec4 color;\n#endif\n#include<helperFunctions>\n#include<bonesDeclaration>\n#include<bakedVertexAnimationDeclaration>\n#include<instancesDeclaration>\n#include<prePassVertexDeclaration>\n#include<samplerVertexDeclaration>(_DEFINENAME_,ALBEDO,_VARYINGNAME_,Albedo)\n#include<samplerVertexDeclaration>(_DEFINENAME_,DETAIL,_VARYINGNAME_,Detail)\n#include<samplerVertexDeclaration>(_DEFINENAME_,AMBIENT,_VARYINGNAME_,Ambient)\n#include<samplerVertexDeclaration>(_DEFINENAME_,OPACITY,_VARYINGNAME_,Opacity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,EMISSIVE,_VARYINGNAME_,Emissive)\n#include<samplerVertexDeclaration>(_DEFINENAME_,LIGHTMAP,_VARYINGNAME_,Lightmap)\n#include<samplerVertexDeclaration>(_DEFINENAME_,REFLECTIVITY,_VARYINGNAME_,Reflectivity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,MICROSURFACEMAP,_VARYINGNAME_,MicroSurfaceSampler)\n#include<samplerVertexDeclaration>(_DEFINENAME_,METALLIC_REFLECTANCE,_VARYINGNAME_,MetallicReflectance)\n#include<samplerVertexDeclaration>(_DEFINENAME_,REFLECTANCE,_VARYINGNAME_,Reflectance)\n#include<samplerVertexDeclaration>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump)\n#include<samplerVertexDeclaration>(_DEFINENAME_,DECAL,_VARYINGNAME_,Decal)\n#ifdef CLEARCOAT\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_TEXTURE,_VARYINGNAME_,ClearCoat)\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_TEXTURE_ROUGHNESS,_VARYINGNAME_,ClearCoatRoughness)\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_BUMP,_VARYINGNAME_,ClearCoatBump)\n#include<samplerVertexDeclaration>(_DEFINENAME_,CLEARCOAT_TINT_TEXTURE,_VARYINGNAME_,ClearCoatTint)\n#endif\n#ifdef IRIDESCENCE\n#include<samplerVertexDeclaration>(_DEFINENAME_,IRIDESCENCE_TEXTURE,_VARYINGNAME_,Iridescence)\n#include<samplerVertexDeclaration>(_DEFINENAME_,IRIDESCENCE_THICKNESS_TEXTURE,_VARYINGNAME_,IridescenceThickness)\n#endif\n#ifdef SHEEN\n#include<samplerVertexDeclaration>(_DEFINENAME_,SHEEN_TEXTURE,_VARYINGNAME_,Sheen)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SHEEN_TEXTURE_ROUGHNESS,_VARYINGNAME_,SheenRoughness)\n#endif\n#ifdef ANISOTROPIC\n#include<samplerVertexDeclaration>(_DEFINENAME_,ANISOTROPIC_TEXTURE,_VARYINGNAME_,Anisotropy)\n#endif\n#ifdef SUBSURFACE\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_THICKNESSANDMASK_TEXTURE,_VARYINGNAME_,Thickness)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_REFRACTIONINTENSITY_TEXTURE,_VARYINGNAME_,RefractionIntensity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_TRANSLUCENCYINTENSITY_TEXTURE,_VARYINGNAME_,TranslucencyIntensity)\n#include<samplerVertexDeclaration>(_DEFINENAME_,SS_TRANSLUCENCYCOLOR_TEXTURE,_VARYINGNAME_,TranslucencyColor)\n#endif\nvarying vec3 vPositionW;\n#if DEBUGMODE>0\nvarying vec4 vClipSpacePosition;\n#endif\n#ifdef NORMAL\nvarying vec3 vNormalW;\n#if defined(USESPHERICALFROMREFLECTIONMAP) && defined(USESPHERICALINVERTEX)\nvarying vec3 vEnvironmentIrradiance;\n#include<harmonicsFunctions>\n#endif\n#endif\n#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)\nvarying vec4 vColor;\n#endif\n#include<bumpVertexDeclaration>\n#include<clipPlaneVertexDeclaration>\n#include<fogVertexDeclaration>\n#include<__decl__lightVxFragment>[0..maxSimultaneousLights]\n#include<morphTargetsVertexGlobalDeclaration>\n#include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]\n#ifdef REFLECTIONMAP_SKYBOX\nvarying vec3 vPositionUVW;\n#endif\n#if defined(REFLECTIONMAP_EQUIRECTANGULAR_FIXED) || defined(REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED)\nvarying vec3 vDirectionW;\n#endif\n#include<logDepthDeclaration>\n#define CUSTOM_VERTEX_DEFINITIONS\nvoid main(void) {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvec3 positionUpdated=position;\n#ifdef NORMAL\nvec3 normalUpdated=normal;\n#endif\n#ifdef TANGENT\nvec4 tangentUpdated=tangent;\n#endif\n#ifdef UV1\nvec2 uvUpdated=uv;\n#endif\n#include<morphTargetsVertexGlobal>\n#include<morphTargetsVertex>[0..maxSimultaneousMorphTargets]\n#ifdef REFLECTIONMAP_SKYBOX\nvPositionUVW=positionUpdated;\n#endif\n#define CUSTOM_VERTEX_UPDATE_POSITION\n#define CUSTOM_VERTEX_UPDATE_NORMAL\n#include<instancesVertex>\n#if defined(PREPASS) && ((defined(PREPASS_VELOCITY) || defined(PREPASS_VELOCITY_LINEAR)) && !defined(BONES_VELOCITY_ENABLED)\nvCurrentPosition=viewProjection*finalWorld*vec4(positionUpdated,1.0);vPreviousPosition=previousViewProjection*finalPreviousWorld*vec4(positionUpdated,1.0);\n#endif\n#include<bonesVertex>\n#include<bakedVertexAnimation>\nvec4 worldPos=finalWorld*vec4(positionUpdated,1.0);vPositionW=vec3(worldPos);\n#ifdef PREPASS\n#include<prePassVertex>\n#endif\n#ifdef NORMAL\nmat3 normalWorld=mat3(finalWorld);\n#if defined(INSTANCES) && defined(THIN_INSTANCES)\nvNormalW=normalUpdated/vec3(dot(normalWorld[0],normalWorld[0]),dot(normalWorld[1],normalWorld[1]),dot(normalWorld[2],normalWorld[2]));vNormalW=normalize(normalWorld*vNormalW);\n#else\n#ifdef NONUNIFORMSCALING\nnormalWorld=transposeMat3(inverseMat3(normalWorld));\n#endif\nvNormalW=normalize(normalWorld*normalUpdated);\n#endif\n#if defined(USESPHERICALFROMREFLECTIONMAP) && defined(USESPHERICALINVERTEX)\nvec3 reflectionVector=vec3(reflectionMatrix*vec4(vNormalW,0)).xyz;\n#ifdef REFLECTIONMAP_OPPOSITEZ\nreflectionVector.z*=-1.0;\n#endif\nvEnvironmentIrradiance=computeEnvironmentIrradiance(reflectionVector);\n#endif\n#endif\n#define CUSTOM_VERTEX_UPDATE_WORLDPOS\n#ifdef MULTIVIEW\nif (gl_ViewID_OVR==0u) {gl_Position=viewProjection*worldPos;} else {gl_Position=viewProjectionR*worldPos;}\n#else\ngl_Position=viewProjection*worldPos;\n#endif\n#if DEBUGMODE>0\nvClipSpacePosition=gl_Position;\n#endif\n#if defined(REFLECTIONMAP_EQUIRECTANGULAR_FIXED) || defined(REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED)\nvDirectionW=normalize(vec3(finalWorld*vec4(positionUpdated,0.0)));\n#endif\n#ifndef UV1\nvec2 uvUpdated=vec2(0.,0.);\n#endif\n#ifdef MAINUV1\nvMainUV1=uvUpdated;\n#endif\n#include<uvVariableDeclaration>[2..7]\n#include<samplerVertexImplementation>(_DEFINENAME_,ALBEDO,_VARYINGNAME_,Albedo,_MATRIXNAME_,albedo,_INFONAME_,AlbedoInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,DETAIL,_VARYINGNAME_,Detail,_MATRIXNAME_,detail,_INFONAME_,DetailInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,AMBIENT,_VARYINGNAME_,Ambient,_MATRIXNAME_,ambient,_INFONAME_,AmbientInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,OPACITY,_VARYINGNAME_,Opacity,_MATRIXNAME_,opacity,_INFONAME_,OpacityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,EMISSIVE,_VARYINGNAME_,Emissive,_MATRIXNAME_,emissive,_INFONAME_,EmissiveInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,LIGHTMAP,_VARYINGNAME_,Lightmap,_MATRIXNAME_,lightmap,_INFONAME_,LightmapInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,REFLECTIVITY,_VARYINGNAME_,Reflectivity,_MATRIXNAME_,reflectivity,_INFONAME_,ReflectivityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,MICROSURFACEMAP,_VARYINGNAME_,MicroSurfaceSampler,_MATRIXNAME_,microSurfaceSampler,_INFONAME_,MicroSurfaceSamplerInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,METALLIC_REFLECTANCE,_VARYINGNAME_,MetallicReflectance,_MATRIXNAME_,metallicReflectance,_INFONAME_,MetallicReflectanceInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,REFLECTANCE,_VARYINGNAME_,Reflectance,_MATRIXNAME_,reflectance,_INFONAME_,ReflectanceInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump,_MATRIXNAME_,bump,_INFONAME_,BumpInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,DECAL,_VARYINGNAME_,Decal,_MATRIXNAME_,decal,_INFONAME_,DecalInfos.x)\n#ifdef CLEARCOAT\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_TEXTURE,_VARYINGNAME_,ClearCoat,_MATRIXNAME_,clearCoat,_INFONAME_,ClearCoatInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_TEXTURE_ROUGHNESS,_VARYINGNAME_,ClearCoatRoughness,_MATRIXNAME_,clearCoatRoughness,_INFONAME_,ClearCoatInfos.z)\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_BUMP,_VARYINGNAME_,ClearCoatBump,_MATRIXNAME_,clearCoatBump,_INFONAME_,ClearCoatBumpInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,CLEARCOAT_TINT_TEXTURE,_VARYINGNAME_,ClearCoatTint,_MATRIXNAME_,clearCoatTint,_INFONAME_,ClearCoatTintInfos.x)\n#endif\n#ifdef IRIDESCENCE\n#include<samplerVertexImplementation>(_DEFINENAME_,IRIDESCENCE_TEXTURE,_VARYINGNAME_,Iridescence,_MATRIXNAME_,iridescence,_INFONAME_,IridescenceInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,IRIDESCENCE_THICKNESS_TEXTURE,_VARYINGNAME_,IridescenceThickness,_MATRIXNAME_,iridescenceThickness,_INFONAME_,IridescenceInfos.z)\n#endif\n#ifdef SHEEN\n#include<samplerVertexImplementation>(_DEFINENAME_,SHEEN_TEXTURE,_VARYINGNAME_,Sheen,_MATRIXNAME_,sheen,_INFONAME_,SheenInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SHEEN_TEXTURE_ROUGHNESS,_VARYINGNAME_,SheenRoughness,_MATRIXNAME_,sheenRoughness,_INFONAME_,SheenInfos.z)\n#endif\n#ifdef ANISOTROPIC\n#include<samplerVertexImplementation>(_DEFINENAME_,ANISOTROPIC_TEXTURE,_VARYINGNAME_,Anisotropy,_MATRIXNAME_,anisotropy,_INFONAME_,AnisotropyInfos.x)\n#endif\n#ifdef SUBSURFACE\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_THICKNESSANDMASK_TEXTURE,_VARYINGNAME_,Thickness,_MATRIXNAME_,thickness,_INFONAME_,ThicknessInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_REFRACTIONINTENSITY_TEXTURE,_VARYINGNAME_,RefractionIntensity,_MATRIXNAME_,refractionIntensity,_INFONAME_,RefractionIntensityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_TRANSLUCENCYINTENSITY_TEXTURE,_VARYINGNAME_,TranslucencyIntensity,_MATRIXNAME_,translucencyIntensity,_INFONAME_,TranslucencyIntensityInfos.x)\n#include<samplerVertexImplementation>(_DEFINENAME_,SS_TRANSLUCENCYCOLOR_TEXTURE,_VARYINGNAME_,TranslucencyColor,_MATRIXNAME_,translucencyColor,_INFONAME_,TranslucencyColorInfos.x)\n#endif\n#include<bumpVertex>\n#include<clipPlaneVertex>\n#include<fogVertex>\n#include<shadowsVertex>[0..maxSimultaneousLights]\n#include<vertexColorMixing>\n#if defined(POINTSIZE) && !defined(WEBGPU)\ngl_PointSize=pointSize;\n#endif\n#include<logDepthVertex>\n#define CUSTOM_VERTEX_MAIN_END\n}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const pbrVertexShader = { name, shader };\n//# sourceMappingURL=pbr.vertex.js.map"],"names":["ShaderStore","IncludesShadersStore","name","shader","ShadersStore","pbrVertexShader"],"mappings":"qVA2HAA,EAAYC,qBAAyB,qBAvHtB,iqHC+Bf,MAAMC,EAAO,kBACPC,EAAS,0vUAuMfH,EAAYI,aAAaF,GAAQC,EAErB,MAACE,EAAkB,CAAEH,OAAMC"}
@@ -1,20 +0,0 @@
1
- import { i as ShaderStore } from './index-CVMH5-nD.esm.js';
2
-
3
- // Do not edit.
4
- const name = "postprocessVertexShader";
5
- const shader = `attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);
6
- #define CUSTOM_VERTEX_DEFINITIONS
7
- @vertex
8
- fn main(input : VertexInputs)->FragmentInputs {
9
- #define CUSTOM_VERTEX_MAIN_BEGIN
10
- vertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0);
11
- #define CUSTOM_VERTEX_MAIN_END
12
- }
13
- `;
14
- // Sideeffect
15
- ShaderStore.ShadersStoreWGSL[name] = shader;
16
- /** @internal */
17
- const postprocessVertexShaderWGSL = { name, shader };
18
-
19
- export { postprocessVertexShaderWGSL };
20
- //# sourceMappingURL=postprocess.vertex-BKTxzIr3.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"postprocess.vertex-BKTxzIr3.esm.js","sources":["../../../../../dev/core/dist/ShadersWGSL/postprocess.vertex.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nconst name = \"postprocessVertexShader\";\nconst shader = `attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);\n#define CUSTOM_VERTEX_DEFINITIONS\n@vertex\nfn main(input : VertexInputs)->FragmentInputs {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0);\n#define CUSTOM_VERTEX_MAIN_END\n}\n`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const postprocessVertexShaderWGSL = { name, shader };\n//# sourceMappingURL=postprocess.vertex.js.map"],"names":[],"mappings":";;AAAA;AAEA,MAAM,IAAI,GAAG,yBAAyB;AACtC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,MAAM;AAC3C;AACY,MAAC,2BAA2B,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -1,2 +0,0 @@
1
- import{i as e}from"./index-bkYfr-SD.esm.min.js";const n="postprocessVertexShader",t="attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);\n#define CUSTOM_VERTEX_DEFINITIONS\n@vertex\nfn main(input : VertexInputs)->FragmentInputs {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0);\n#define CUSTOM_VERTEX_MAIN_END\n}\n";e.ShadersStoreWGSL[n]=t;const s={name:n,shader:t};export{s as postprocessVertexShaderWGSL};
2
- //# sourceMappingURL=postprocess.vertex-BLM-tBsI.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"postprocess.vertex-BLM-tBsI.esm.min.js","sources":["../../../../../dev/core/dist/ShadersWGSL/postprocess.vertex.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nconst name = \"postprocessVertexShader\";\nconst shader = `attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);\n#define CUSTOM_VERTEX_DEFINITIONS\n@vertex\nfn main(input : VertexInputs)->FragmentInputs {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0);\n#define CUSTOM_VERTEX_MAIN_END\n}\n`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const postprocessVertexShaderWGSL = { name, shader };\n//# sourceMappingURL=postprocess.vertex.js.map"],"names":["name","shader","ShaderStore","ShadersStoreWGSL","postprocessVertexShaderWGSL"],"mappings":"gDAEA,MAAMA,EAAO,0BACPC,EAAS,8YAUfC,EAAYC,iBAAiBH,GAAQC,EAEzB,MAACG,EAA8B,CAAEJ,OAAMC"}
@@ -1,191 +0,0 @@
1
- import { s as Texture, C as Constants } from './index-CVMH5-nD.esm.js';
2
-
3
- /**
4
- * Raw texture can help creating a texture directly from an array of data.
5
- * This can be super useful if you either get the data from an uncompressed source or
6
- * if you wish to create your texture pixel by pixel.
7
- */
8
- class RawTexture extends Texture {
9
- /**
10
- * Instantiates a new RawTexture.
11
- * Raw texture can help creating a texture directly from an array of data.
12
- * This can be super useful if you either get the data from an uncompressed source or
13
- * if you wish to create your texture pixel by pixel.
14
- * @param data define the array of data to use to create the texture (null to create an empty texture)
15
- * @param width define the width of the texture
16
- * @param height define the height of the texture
17
- * @param format define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)
18
- * @param sceneOrEngine defines the scene or engine the texture will belong to
19
- * @param generateMipMaps define whether mip maps should be generated or not
20
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
21
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
22
- * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
23
- * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)
24
- * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
25
- */
26
- constructor(data, width, height,
27
- /**
28
- * Define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)
29
- */
30
- format, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags, useSRGBBuffer) {
31
- super(null, sceneOrEngine, !generateMipMaps, invertY, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, creationFlags);
32
- this.format = format;
33
- if (!this._engine) {
34
- return;
35
- }
36
- if (!this._engine._caps.textureFloatLinearFiltering && type === Constants.TEXTURETYPE_FLOAT) {
37
- samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;
38
- }
39
- if (!this._engine._caps.textureHalfFloatLinearFiltering && type === Constants.TEXTURETYPE_HALF_FLOAT) {
40
- samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;
41
- }
42
- this._texture = this._engine.createRawTexture(data, width, height, format, generateMipMaps, invertY, samplingMode, null, type, creationFlags ?? 0, useSRGBBuffer ?? false);
43
- this.wrapU = Texture.CLAMP_ADDRESSMODE;
44
- this.wrapV = Texture.CLAMP_ADDRESSMODE;
45
- }
46
- /**
47
- * Updates the texture underlying data.
48
- * @param data Define the new data of the texture
49
- */
50
- update(data) {
51
- this._getEngine().updateRawTexture(this._texture, data, this._texture.format, this._texture.invertY, null, this._texture.type, this._texture._useSRGBBuffer);
52
- }
53
- /**
54
- * Clones the texture.
55
- * @returns the cloned texture
56
- */
57
- clone() {
58
- if (!this._texture) {
59
- return super.clone();
60
- }
61
- const rawTexture = new RawTexture(null, this.getSize().width, this.getSize().height, this.format, this.getScene(), this._texture.generateMipMaps, this._invertY, this.samplingMode, this._texture.type, this._texture._creationFlags, this._useSRGBBuffer);
62
- rawTexture._texture = this._texture;
63
- this._texture.incrementReferences();
64
- return rawTexture;
65
- }
66
- /**
67
- * Creates a luminance texture from some data.
68
- * @param data Define the texture data
69
- * @param width Define the width of the texture
70
- * @param height Define the height of the texture
71
- * @param sceneOrEngine defines the scene or engine the texture will belong to
72
- * @param generateMipMaps Define whether or not to create mip maps for the texture
73
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
74
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
75
- * @returns the luminance texture
76
- */
77
- static CreateLuminanceTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {
78
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE, sceneOrEngine, generateMipMaps, invertY, samplingMode);
79
- }
80
- /**
81
- * Creates a luminance alpha texture from some data.
82
- * @param data Define the texture data
83
- * @param width Define the width of the texture
84
- * @param height Define the height of the texture
85
- * @param sceneOrEngine defines the scene or engine the texture will belong to
86
- * @param generateMipMaps Define whether or not to create mip maps for the texture
87
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
88
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
89
- * @returns the luminance alpha texture
90
- */
91
- static CreateLuminanceAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {
92
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);
93
- }
94
- /**
95
- * Creates an alpha texture from some data.
96
- * @param data Define the texture data
97
- * @param width Define the width of the texture
98
- * @param height Define the height of the texture
99
- * @param sceneOrEngine defines the scene or engine the texture will belong to
100
- * @param generateMipMaps Define whether or not to create mip maps for the texture
101
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
102
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
103
- * @returns the alpha texture
104
- */
105
- static CreateAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {
106
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);
107
- }
108
- /**
109
- * Creates a RGB texture from some data.
110
- * @param data Define the texture data
111
- * @param width Define the width of the texture
112
- * @param height Define the height of the texture
113
- * @param sceneOrEngine defines the scene or engine the texture will belong to
114
- * @param generateMipMaps Define whether or not to create mip maps for the texture
115
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
116
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
117
- * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
118
- * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)
119
- * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
120
- * @returns the RGB alpha texture
121
- */
122
- static CreateRGBTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags = 0, useSRGBBuffer = false) {
123
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGB, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);
124
- }
125
- /**
126
- * Creates a RGBA texture from some data.
127
- * @param data Define the texture data
128
- * @param width Define the width of the texture
129
- * @param height Define the height of the texture
130
- * @param sceneOrEngine defines the scene or engine the texture will belong to
131
- * @param generateMipMaps Define whether or not to create mip maps for the texture
132
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
133
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
134
- * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
135
- * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)
136
- * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
137
- * @returns the RGBA texture
138
- */
139
- static CreateRGBATexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags = 0, useSRGBBuffer = false) {
140
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);
141
- }
142
- /**
143
- * Creates a RGBA storage texture from some data.
144
- * @param data Define the texture data
145
- * @param width Define the width of the texture
146
- * @param height Define the height of the texture
147
- * @param sceneOrEngine defines the scene or engine the texture will belong to
148
- * @param generateMipMaps Define whether or not to create mip maps for the texture
149
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
150
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
151
- * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
152
- * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
153
- * @returns the RGBA texture
154
- */
155
- static CreateRGBAStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, useSRGBBuffer = false) {
156
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE, useSRGBBuffer);
157
- }
158
- /**
159
- * Creates a R texture from some data.
160
- * @param data Define the texture data
161
- * @param width Define the width of the texture
162
- * @param height Define the height of the texture
163
- * @param sceneOrEngine defines the scene or engine the texture will belong to
164
- * @param generateMipMaps Define whether or not to create mip maps for the texture
165
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
166
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
167
- * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
168
- * @returns the R texture
169
- */
170
- static CreateRTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {
171
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type);
172
- }
173
- /**
174
- * Creates a R storage texture from some data.
175
- * @param data Define the texture data
176
- * @param width Define the width of the texture
177
- * @param height Define the height of the texture
178
- * @param sceneOrEngine defines the scene or engine the texture will belong to
179
- * @param generateMipMaps Define whether or not to create mip maps for the texture
180
- * @param invertY define if the data should be flipped on Y when uploaded to the GPU
181
- * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
182
- * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
183
- * @returns the R texture
184
- */
185
- static CreateRStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {
186
- return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE);
187
- }
188
- }
189
-
190
- export { RawTexture as R };
191
- //# sourceMappingURL=rawTexture-B4sxPzau.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rawTexture-B4sxPzau.esm.js","sources":["../../../../../dev/core/dist/Materials/Textures/rawTexture.js"],"sourcesContent":["import { Texture } from \"./texture\";\nimport { Constants } from \"../../Engines/constants\";\n/**\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n */\nexport class RawTexture extends Texture {\n /**\n * Instantiates a new RawTexture.\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n * @param data define the array of data to use to create the texture (null to create an empty texture)\n * @param width define the width of the texture\n * @param height define the height of the texture\n * @param format define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps define whether mip maps should be generated or not\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n */\n constructor(data, width, height, \n /**\n * Define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n */\n format, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags, useSRGBBuffer) {\n super(null, sceneOrEngine, !generateMipMaps, invertY, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, creationFlags);\n this.format = format;\n if (!this._engine) {\n return;\n }\n if (!this._engine._caps.textureFloatLinearFiltering && type === Constants.TEXTURETYPE_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n if (!this._engine._caps.textureHalfFloatLinearFiltering && type === Constants.TEXTURETYPE_HALF_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n this._texture = this._engine.createRawTexture(data, width, height, format, generateMipMaps, invertY, samplingMode, null, type, creationFlags ?? 0, useSRGBBuffer ?? false);\n this.wrapU = Texture.CLAMP_ADDRESSMODE;\n this.wrapV = Texture.CLAMP_ADDRESSMODE;\n }\n /**\n * Updates the texture underlying data.\n * @param data Define the new data of the texture\n */\n update(data) {\n this._getEngine().updateRawTexture(this._texture, data, this._texture.format, this._texture.invertY, null, this._texture.type, this._texture._useSRGBBuffer);\n }\n /**\n * Clones the texture.\n * @returns the cloned texture\n */\n clone() {\n if (!this._texture) {\n return super.clone();\n }\n const rawTexture = new RawTexture(null, this.getSize().width, this.getSize().height, this.format, this.getScene(), this._texture.generateMipMaps, this._invertY, this.samplingMode, this._texture.type, this._texture._creationFlags, this._useSRGBBuffer);\n rawTexture._texture = this._texture;\n this._texture.incrementReferences();\n return rawTexture;\n }\n /**\n * Creates a luminance texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance texture\n */\n static CreateLuminanceTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a luminance alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance alpha texture\n */\n static CreateLuminanceAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates an alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the alpha texture\n */\n static CreateAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a RGB texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGB alpha texture\n */\n static CreateRGBTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGB, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBATexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBAStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE, useSRGBBuffer);\n }\n /**\n * Creates a R texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type);\n }\n /**\n * Creates a R storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE);\n }\n}\n//# sourceMappingURL=rawTexture.js.map"],"names":[],"mappings":"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"}
@@ -1,2 +0,0 @@
1
- import{s as e,C as t}from"./index-bkYfr-SD.esm.min.js";class T extends e{constructor(T,E,r,R,_,i=!0,n=!1,A=t.TEXTURE_TRILINEAR_SAMPLINGMODE,s=t.TEXTURETYPE_UNSIGNED_INT,u,a){super(null,_,!i,n,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,u),this.format=R,this._engine&&(this._engine._caps.textureFloatLinearFiltering||s!==t.TEXTURETYPE_FLOAT||(A=t.TEXTURE_NEAREST_SAMPLINGMODE),this._engine._caps.textureHalfFloatLinearFiltering||s!==t.TEXTURETYPE_HALF_FLOAT||(A=t.TEXTURE_NEAREST_SAMPLINGMODE),this._texture=this._engine.createRawTexture(T,E,r,R,i,n,A,null,s,u??0,a??!1),this.wrapU=e.CLAMP_ADDRESSMODE,this.wrapV=e.CLAMP_ADDRESSMODE)}update(e){this._getEngine().updateRawTexture(this._texture,e,this._texture.format,this._texture.invertY,null,this._texture.type,this._texture._useSRGBBuffer)}clone(){if(!this._texture)return super.clone();const e=new T(null,this.getSize().width,this.getSize().height,this.format,this.getScene(),this._texture.generateMipMaps,this._invertY,this.samplingMode,this._texture.type,this._texture._creationFlags,this._useSRGBBuffer);return e._texture=this._texture,this._texture.incrementReferences(),e}static CreateLuminanceTexture(e,E,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE){return new T(e,E,r,t.TEXTUREFORMAT_LUMINANCE,R,_,i,n)}static CreateLuminanceAlphaTexture(e,E,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE){return new T(e,E,r,t.TEXTUREFORMAT_LUMINANCE_ALPHA,R,_,i,n)}static CreateAlphaTexture(e,E,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE){return new T(e,E,r,t.TEXTUREFORMAT_ALPHA,R,_,i,n)}static CreateRGBTexture(e,E,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE,A=t.TEXTURETYPE_UNSIGNED_INT,s=0,u=!1){return new T(e,E,r,t.TEXTUREFORMAT_RGB,R,_,i,n,A,s,u)}static CreateRGBATexture(e,E,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE,A=t.TEXTURETYPE_UNSIGNED_INT,s=0,u=!1){return new T(e,E,r,t.TEXTUREFORMAT_RGBA,R,_,i,n,A,s,u)}static CreateRGBAStorageTexture(e,E,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE,A=t.TEXTURETYPE_UNSIGNED_INT,s=!1){return new T(e,E,r,t.TEXTUREFORMAT_RGBA,R,_,i,n,A,t.TEXTURE_CREATIONFLAG_STORAGE,s)}static CreateRTexture(E,r,R,_,i=!0,n=!1,A=e.TRILINEAR_SAMPLINGMODE,s=t.TEXTURETYPE_FLOAT){return new T(E,r,R,t.TEXTUREFORMAT_R,_,i,n,A,s)}static CreateRStorageTexture(E,r,R,_,i=!0,n=!1,A=e.TRILINEAR_SAMPLINGMODE,s=t.TEXTURETYPE_FLOAT){return new T(E,r,R,t.TEXTUREFORMAT_R,_,i,n,A,s,t.TEXTURE_CREATIONFLAG_STORAGE)}}export{T as R};
2
- //# sourceMappingURL=rawTexture-C8eTjsTL.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rawTexture-C8eTjsTL.esm.min.js","sources":["../../../../../dev/core/dist/Materials/Textures/rawTexture.js"],"sourcesContent":["import { Texture } from \"./texture\";\nimport { Constants } from \"../../Engines/constants\";\n/**\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n */\nexport class RawTexture extends Texture {\n /**\n * Instantiates a new RawTexture.\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n * @param data define the array of data to use to create the texture (null to create an empty texture)\n * @param width define the width of the texture\n * @param height define the height of the texture\n * @param format define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps define whether mip maps should be generated or not\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n */\n constructor(data, width, height, \n /**\n * Define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n */\n format, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags, useSRGBBuffer) {\n super(null, sceneOrEngine, !generateMipMaps, invertY, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, creationFlags);\n this.format = format;\n if (!this._engine) {\n return;\n }\n if (!this._engine._caps.textureFloatLinearFiltering && type === Constants.TEXTURETYPE_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n if (!this._engine._caps.textureHalfFloatLinearFiltering && type === Constants.TEXTURETYPE_HALF_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n this._texture = this._engine.createRawTexture(data, width, height, format, generateMipMaps, invertY, samplingMode, null, type, creationFlags ?? 0, useSRGBBuffer ?? false);\n this.wrapU = Texture.CLAMP_ADDRESSMODE;\n this.wrapV = Texture.CLAMP_ADDRESSMODE;\n }\n /**\n * Updates the texture underlying data.\n * @param data Define the new data of the texture\n */\n update(data) {\n this._getEngine().updateRawTexture(this._texture, data, this._texture.format, this._texture.invertY, null, this._texture.type, this._texture._useSRGBBuffer);\n }\n /**\n * Clones the texture.\n * @returns the cloned texture\n */\n clone() {\n if (!this._texture) {\n return super.clone();\n }\n const rawTexture = new RawTexture(null, this.getSize().width, this.getSize().height, this.format, this.getScene(), this._texture.generateMipMaps, this._invertY, this.samplingMode, this._texture.type, this._texture._creationFlags, this._useSRGBBuffer);\n rawTexture._texture = this._texture;\n this._texture.incrementReferences();\n return rawTexture;\n }\n /**\n * Creates a luminance texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance texture\n */\n static CreateLuminanceTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a luminance alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance alpha texture\n */\n static CreateLuminanceAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates an alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the alpha texture\n */\n static CreateAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a RGB texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGB alpha texture\n */\n static CreateRGBTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGB, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBATexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBAStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_INT, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE, useSRGBBuffer);\n }\n /**\n * Creates a R texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type);\n }\n /**\n * Creates a R storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE);\n }\n}\n//# sourceMappingURL=rawTexture.js.map"],"names":["RawTexture","Texture","constructor","data","width","height","format","sceneOrEngine","generateMipMaps","invertY","samplingMode","Constants","TEXTURE_TRILINEAR_SAMPLINGMODE","type","TEXTURETYPE_UNSIGNED_INT","creationFlags","useSRGBBuffer","super","undefined","this","_engine","_caps","textureFloatLinearFiltering","TEXTURETYPE_FLOAT","TEXTURE_NEAREST_SAMPLINGMODE","textureHalfFloatLinearFiltering","TEXTURETYPE_HALF_FLOAT","_texture","createRawTexture","wrapU","CLAMP_ADDRESSMODE","wrapV","update","_getEngine","updateRawTexture","_useSRGBBuffer","clone","rawTexture","getSize","getScene","_invertY","_creationFlags","incrementReferences","CreateLuminanceTexture","TEXTUREFORMAT_LUMINANCE","CreateLuminanceAlphaTexture","TEXTUREFORMAT_LUMINANCE_ALPHA","CreateAlphaTexture","TEXTUREFORMAT_ALPHA","CreateRGBTexture","TEXTUREFORMAT_RGB","CreateRGBATexture","TEXTUREFORMAT_RGBA","CreateRGBAStorageTexture","TEXTURE_CREATIONFLAG_STORAGE","CreateRTexture","TRILINEAR_SAMPLINGMODE","TEXTUREFORMAT_R","CreateRStorageTexture"],"mappings":"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"}
@@ -1,17 +0,0 @@
1
- import { i as ShaderStore } from './index-CVMH5-nD.esm.js';
2
- import './helperFunctions-BeWEDUrw.esm.js';
3
-
4
- // Do not edit.
5
- const name = "rgbdDecodePixelShader";
6
- const shader = `varying vec2 vUV;uniform sampler2D textureSampler;
7
- #include<helperFunctions>
8
- #define CUSTOM_FRAGMENT_DEFINITIONS
9
- void main(void)
10
- {gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}`;
11
- // Sideeffect
12
- ShaderStore.ShadersStore[name] = shader;
13
- /** @internal */
14
- const rgbdDecodePixelShader = { name, shader };
15
-
16
- export { rgbdDecodePixelShader };
17
- //# sourceMappingURL=rgbdDecode.fragment-B1JRUB2c.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdDecode.fragment-B1JRUB2c.esm.js","sources":["../../../../../dev/core/dist/Shaders/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,iEAAiE,CAAC;AAClE;AACA,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,MAAM;AACvC;AACY,MAAC,qBAAqB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -1,2 +0,0 @@
1
- import{i as e}from"./index-bkYfr-SD.esm.min.js";import"./helperFunctions-CkmR3WUA.esm.min.js";const r="rgbdDecodePixelShader",t="varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}";e.ShadersStoreWGSL[r]=t;const n={name:r,shader:t};export{n as rgbdDecodePixelShaderWGSL};
2
- //# sourceMappingURL=rgbdDecode.fragment-BQDhe3Gm.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdDecode.fragment-BQDhe3Gm.esm.min.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStoreWGSL","rgbdDecodePixelShaderWGSL"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,qUAMfC,EAAYC,iBAAiBH,GAAQC,EAEzB,MAACG,EAA4B,CAAEJ,OAAMC"}
@@ -1,17 +0,0 @@
1
- import { i as ShaderStore } from './index-CVMH5-nD.esm.js';
2
- import './helperFunctions-Vnio5Zy4.esm.js';
3
-
4
- // Do not edit.
5
- const name = "rgbdDecodePixelShader";
6
- const shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
7
- #include<helperFunctions>
8
- #define CUSTOM_FRAGMENT_DEFINITIONS
9
- @fragment
10
- fn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}`;
11
- // Sideeffect
12
- ShaderStore.ShadersStoreWGSL[name] = shader;
13
- /** @internal */
14
- const rgbdDecodePixelShaderWGSL = { name, shader };
15
-
16
- export { rgbdDecodePixelShaderWGSL };
17
- //# sourceMappingURL=rgbdDecode.fragment-Bqwzk3c0.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdDecode.fragment-Bqwzk3c0.esm.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,2JAA2J,CAAC;AAC5J;AACA,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,MAAM;AAC3C;AACY,MAAC,yBAAyB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -1,2 +0,0 @@
1
- import{i as e}from"./index-bkYfr-SD.esm.min.js";import"./helperFunctions-BLQP90J_.esm.min.js";const r="rgbdDecodePixelShader",n="varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}";e.ShadersStore[r]=n;const i={name:r,shader:n};export{i as rgbdDecodePixelShader};
2
- //# sourceMappingURL=rgbdDecode.fragment-De929itq.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdDecode.fragment-De929itq.esm.min.js","sources":["../../../../../dev/core/dist/Shaders/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStore","rgbdDecodePixelShader"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,0MAMfC,EAAYC,aAAaH,GAAQC,EAErB,MAACG,EAAwB,CAAEJ,OAAMC"}
@@ -1,17 +0,0 @@
1
- import { i as ShaderStore } from './index-CVMH5-nD.esm.js';
2
- import './helperFunctions-Vnio5Zy4.esm.js';
3
-
4
- // Do not edit.
5
- const name = "rgbdEncodePixelShader";
6
- const shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
7
- #include<helperFunctions>
8
- #define CUSTOM_FRAGMENT_DEFINITIONS
9
- @fragment
10
- fn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}`;
11
- // Sideeffect
12
- ShaderStore.ShadersStoreWGSL[name] = shader;
13
- /** @internal */
14
- const rgbdEncodePixelShaderWGSL = { name, shader };
15
-
16
- export { rgbdEncodePixelShaderWGSL };
17
- //# sourceMappingURL=rgbdEncode.fragment-B2mbOgZ1.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdEncode.fragment-B2mbOgZ1.esm.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,kJAAkJ,CAAC;AACnJ;AACA,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,MAAM;AAC3C;AACY,MAAC,yBAAyB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -1,2 +0,0 @@
1
- import{i as e}from"./index-bkYfr-SD.esm.min.js";import"./helperFunctions-BLQP90J_.esm.min.js";const r="rgbdEncodePixelShader",n="varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}";e.ShadersStore[r]=n;const i={name:r,shader:n};export{i as rgbdEncodePixelShader};
2
- //# sourceMappingURL=rgbdEncode.fragment-BR4bMAPw.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdEncode.fragment-BR4bMAPw.esm.min.js","sources":["../../../../../dev/core/dist/Shaders/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStore","rgbdEncodePixelShader"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,kMAMfC,EAAYC,aAAaH,GAAQC,EAErB,MAACG,EAAwB,CAAEJ,OAAMC"}
@@ -1,2 +0,0 @@
1
- import{i as e}from"./index-bkYfr-SD.esm.min.js";import"./helperFunctions-CkmR3WUA.esm.min.js";const r="rgbdEncodePixelShader",t="varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}";e.ShadersStoreWGSL[r]=t;const n={name:r,shader:t};export{n as rgbdEncodePixelShaderWGSL};
2
- //# sourceMappingURL=rgbdEncode.fragment-CnnkzvSU.esm.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdEncode.fragment-CnnkzvSU.esm.min.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStoreWGSL","rgbdEncodePixelShaderWGSL"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,4TAMfC,EAAYC,iBAAiBH,GAAQC,EAEzB,MAACG,EAA4B,CAAEJ,OAAMC"}
@@ -1,17 +0,0 @@
1
- import { i as ShaderStore } from './index-CVMH5-nD.esm.js';
2
- import './helperFunctions-BeWEDUrw.esm.js';
3
-
4
- // Do not edit.
5
- const name = "rgbdEncodePixelShader";
6
- const shader = `varying vec2 vUV;uniform sampler2D textureSampler;
7
- #include<helperFunctions>
8
- #define CUSTOM_FRAGMENT_DEFINITIONS
9
- void main(void)
10
- {gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}`;
11
- // Sideeffect
12
- ShaderStore.ShadersStore[name] = shader;
13
- /** @internal */
14
- const rgbdEncodePixelShader = { name, shader };
15
-
16
- export { rgbdEncodePixelShader };
17
- //# sourceMappingURL=rgbdEncode.fragment-DdsDf_tZ.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rgbdEncode.fragment-DdsDf_tZ.esm.js","sources":["../../../../../dev/core/dist/Shaders/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,yDAAyD,CAAC;AAC1D;AACA,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,MAAM;AACvC;AACY,MAAC,qBAAqB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}