@fps-games/editor-deployment 0.2.3-beta.10
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.
- package/bin/fps-editor-agent.mjs +5 -0
- package/bin/fps-editor-prepare.mjs +5 -0
- package/bin/fps-editor-project.mjs +18 -0
- package/bin/fps-editor-server.mjs +2 -0
- package/licenses/THIRD_PARTY_NOTICES.txt +7 -0
- package/manifest.json +2688 -0
- package/npm-shrinkwrap.json +21 -0
- package/package.json +44 -0
- package/public/assets/abstractAudioBus-BRAC2GY2.js +1 -0
- package/public/assets/animation-C6iNAO1g.js +1 -0
- package/public/assets/animation-C6iNAO1g.js.br +0 -0
- package/public/assets/animation-C6iNAO1g.js.gz +0 -0
- package/public/assets/animationGroup-C74XVFRE.js +1 -0
- package/public/assets/animationGroup-C74XVFRE.js.br +0 -0
- package/public/assets/animationGroup-C74XVFRE.js.gz +0 -0
- package/public/assets/arcRotateCamera-CIQYNBBJ.js +1 -0
- package/public/assets/arcRotateCamera-CIQYNBBJ.js.br +0 -0
- package/public/assets/arcRotateCamera-CIQYNBBJ.js.gz +0 -0
- package/public/assets/babylon-core-PuGyjHMj.js +13882 -0
- package/public/assets/babylon-core-PuGyjHMj.js.br +0 -0
- package/public/assets/babylon-core-PuGyjHMj.js.gz +0 -0
- package/public/assets/babylon-core-S0gBQJVe.js +1 -0
- package/public/assets/babylon-core-S0gBQJVe.js.br +0 -0
- package/public/assets/babylon-core-S0gBQJVe.js.gz +0 -0
- package/public/assets/basisTextureLoader-BdapVvhf.js +1 -0
- package/public/assets/basisTextureLoader-BdapVvhf.js.br +0 -0
- package/public/assets/basisTextureLoader-BdapVvhf.js.gz +0 -0
- package/public/assets/bumpVertex-DMhnr4dz.js +173 -0
- package/public/assets/bumpVertex-DMhnr4dz.js.br +0 -0
- package/public/assets/bumpVertex-DMhnr4dz.js.gz +0 -0
- package/public/assets/bumpVertex-DpGOKCkn.js +177 -0
- package/public/assets/bumpVertex-DpGOKCkn.js.br +0 -0
- package/public/assets/bumpVertex-DpGOKCkn.js.gz +0 -0
- package/public/assets/chromaticAberration.fragment-BgX-2zxS.js +7 -0
- package/public/assets/chromaticAberration.fragment-BgX-2zxS.js.br +0 -0
- package/public/assets/chromaticAberration.fragment-BgX-2zxS.js.gz +0 -0
- package/public/assets/chromaticAberration.fragment-D7t6Txg4.js +6 -0
- package/public/assets/chromaticAberration.fragment-D7t6Txg4.js.br +0 -0
- package/public/assets/chromaticAberration.fragment-D7t6Txg4.js.gz +0 -0
- package/public/assets/circleOfConfusion.fragment-D1RtHaPm.js +17 -0
- package/public/assets/circleOfConfusion.fragment-D1RtHaPm.js.br +0 -0
- package/public/assets/circleOfConfusion.fragment-D1RtHaPm.js.gz +0 -0
- package/public/assets/circleOfConfusion.fragment-D8geMRma.js +17 -0
- package/public/assets/circleOfConfusion.fragment-D8geMRma.js.br +0 -0
- package/public/assets/circleOfConfusion.fragment-D8geMRma.js.gz +0 -0
- package/public/assets/clipPlaneFragment-Bgl3Usc4.js +46 -0
- package/public/assets/clipPlaneFragment-Bgl3Usc4.js.br +0 -0
- package/public/assets/clipPlaneFragment-Bgl3Usc4.js.gz +0 -0
- package/public/assets/clipPlaneVertex-BxK9aoI2.js +177 -0
- package/public/assets/clipPlaneVertex-BxK9aoI2.js.br +0 -0
- package/public/assets/clipPlaneVertex-BxK9aoI2.js.gz +0 -0
- package/public/assets/color.fragment-BUdIBar6.js +20 -0
- package/public/assets/color.fragment-BUdIBar6.js.br +0 -0
- package/public/assets/color.fragment-BUdIBar6.js.gz +0 -0
- package/public/assets/color.fragment-CDn4ZgkT.js +21 -0
- package/public/assets/color.fragment-CDn4ZgkT.js.br +0 -0
- package/public/assets/color.fragment-CDn4ZgkT.js.gz +0 -0
- package/public/assets/color.vertex-CaMOSKlC.js +39 -0
- package/public/assets/color.vertex-CaMOSKlC.js.br +5 -0
- package/public/assets/color.vertex-CaMOSKlC.js.gz +0 -0
- package/public/assets/color.vertex-dgbB6mhK.js +32 -0
- package/public/assets/color.vertex-dgbB6mhK.js.br +0 -0
- package/public/assets/color.vertex-dgbB6mhK.js.gz +0 -0
- package/public/assets/dds-3J0FZYX1.js +1 -0
- package/public/assets/dds-3J0FZYX1.js.br +0 -0
- package/public/assets/dds-3J0FZYX1.js.gz +0 -0
- package/public/assets/ddsTextureLoader-s5HptTVZ.js +1 -0
- package/public/assets/ddsTextureLoader-s5HptTVZ.js.br +0 -0
- package/public/assets/ddsTextureLoader-s5HptTVZ.js.gz +0 -0
- package/public/assets/default.fragment-C4xg7O-P.js +526 -0
- package/public/assets/default.fragment-C4xg7O-P.js.br +0 -0
- package/public/assets/default.fragment-C4xg7O-P.js.gz +0 -0
- package/public/assets/default.fragment-C4zjkcFb.js +468 -0
- package/public/assets/default.fragment-C4zjkcFb.js.br +0 -0
- package/public/assets/default.fragment-C4zjkcFb.js.gz +0 -0
- package/public/assets/default.vertex-A8wQopNr.js +193 -0
- package/public/assets/default.vertex-A8wQopNr.js.br +0 -0
- package/public/assets/default.vertex-A8wQopNr.js.gz +0 -0
- package/public/assets/default.vertex-YrvIUn4x.js +181 -0
- package/public/assets/default.vertex-YrvIUn4x.js.br +0 -0
- package/public/assets/default.vertex-YrvIUn4x.js.gz +0 -0
- package/public/assets/defaultUboDeclaration-C8GCosBM.js +5 -0
- package/public/assets/defaultUboDeclaration-C8GCosBM.js.br +0 -0
- package/public/assets/defaultUboDeclaration-C8GCosBM.js.gz +0 -0
- package/public/assets/defaultUboDeclaration-D26o_DDO.js +7 -0
- package/public/assets/defaultUboDeclaration-D26o_DDO.js.br +0 -0
- package/public/assets/defaultUboDeclaration-D26o_DDO.js.gz +0 -0
- package/public/assets/depth.fragment-Bn8G24s-.js +40 -0
- package/public/assets/depth.fragment-Bn8G24s-.js.br +4 -0
- package/public/assets/depth.fragment-Bn8G24s-.js.gz +0 -0
- package/public/assets/depth.vertex-B2lrdlJh.js +57 -0
- package/public/assets/depth.vertex-B2lrdlJh.js.br +0 -0
- package/public/assets/depth.vertex-B2lrdlJh.js.gz +0 -0
- package/public/assets/depthBoxBlur.fragment-BtTv8wid.js +5 -0
- package/public/assets/depthBoxBlur.fragment-BtTv8wid.js.br +0 -0
- package/public/assets/depthBoxBlur.fragment-BtTv8wid.js.gz +0 -0
- package/public/assets/depthBoxBlur.fragment-DViDG6Vb.js +6 -0
- package/public/assets/depthBoxBlur.fragment-DViDG6Vb.js.br +0 -0
- package/public/assets/depthBoxBlur.fragment-DViDG6Vb.js.gz +0 -0
- package/public/assets/depthOfFieldMerge.fragment-DCspcdWZ.js +26 -0
- package/public/assets/depthOfFieldMerge.fragment-DCspcdWZ.js.br +0 -0
- package/public/assets/depthOfFieldMerge.fragment-DCspcdWZ.js.gz +0 -0
- package/public/assets/depthOfFieldMerge.fragment-Ds-g4Ln8.js +21 -0
- package/public/assets/depthOfFieldMerge.fragment-Ds-g4Ln8.js.br +0 -0
- package/public/assets/depthOfFieldMerge.fragment-Ds-g4Ln8.js.gz +0 -0
- package/public/assets/dynamicTexture-Cuby-VOT.js +1329 -0
- package/public/assets/dynamicTexture-Cuby-VOT.js.br +0 -0
- package/public/assets/dynamicTexture-Cuby-VOT.js.gz +0 -0
- package/public/assets/easing-DbzzrXOl.js +1 -0
- package/public/assets/easing-DbzzrXOl.js.br +0 -0
- package/public/assets/easing-DbzzrXOl.js.gz +0 -0
- package/public/assets/editor-core-plugin-host-c2002442.js +1 -0
- package/public/assets/editor-core-plugin-host-c2002442.js.br +0 -0
- package/public/assets/editor-core-plugin-host-c2002442.js.gz +0 -0
- package/public/assets/exrTextureLoader-D39k4eK_.js +1 -0
- package/public/assets/exrTextureLoader-D39k4eK_.js.br +0 -0
- package/public/assets/exrTextureLoader-D39k4eK_.js.gz +0 -0
- package/public/assets/flowGraphArrayIndexBlock-C8nTWR8h.js +1 -0
- package/public/assets/flowGraphArrayIndexBlock-C8nTWR8h.js.br +0 -0
- package/public/assets/flowGraphArrayIndexBlock-C8nTWR8h.js.gz +0 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-Izh7s0Zh.js +1 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-Izh7s0Zh.js.br +0 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-Izh7s0Zh.js.gz +0 -0
- package/public/assets/flowGraphBinaryOperationBlock-BRfalQP5.js +1 -0
- package/public/assets/flowGraphBinaryOperationBlock-BRfalQP5.js.br +0 -0
- package/public/assets/flowGraphBinaryOperationBlock-BRfalQP5.js.gz +0 -0
- package/public/assets/flowGraphBranchBlock-CV_leJX3.js +1 -0
- package/public/assets/flowGraphBranchBlock-CV_leJX3.js.br +0 -0
- package/public/assets/flowGraphBranchBlock-CV_leJX3.js.gz +0 -0
- package/public/assets/flowGraphCachedOperationBlock-BysRM-Ha.js +1 -0
- package/public/assets/flowGraphCachedOperationBlock-BysRM-Ha.js.br +2 -0
- package/public/assets/flowGraphCachedOperationBlock-BysRM-Ha.js.gz +0 -0
- package/public/assets/flowGraphCancelDelayBlock-BK6tDTGy.js +1 -0
- package/public/assets/flowGraphCancelDelayBlock-BK6tDTGy.js.br +0 -0
- package/public/assets/flowGraphCancelDelayBlock-BK6tDTGy.js.gz +0 -0
- package/public/assets/flowGraphCodeExecutionBlock-CQABvaP8.js +1 -0
- package/public/assets/flowGraphCodeExecutionBlock-CQABvaP8.js.br +0 -0
- package/public/assets/flowGraphCodeExecutionBlock-CQABvaP8.js.gz +0 -0
- package/public/assets/flowGraphConditionalDataBlock-D7OU_UOM.js +1 -0
- package/public/assets/flowGraphConditionalDataBlock-D7OU_UOM.js.br +0 -0
- package/public/assets/flowGraphConditionalDataBlock-D7OU_UOM.js.gz +0 -0
- package/public/assets/flowGraphConsoleLogBlock-BBxVDGOV.js +1 -0
- package/public/assets/flowGraphConsoleLogBlock-BBxVDGOV.js.br +0 -0
- package/public/assets/flowGraphConsoleLogBlock-BBxVDGOV.js.gz +0 -0
- package/public/assets/flowGraphConstantBlock-Cn3ZMGR0.js +1 -0
- package/public/assets/flowGraphConstantBlock-Cn3ZMGR0.js.br +0 -0
- package/public/assets/flowGraphConstantBlock-Cn3ZMGR0.js.gz +0 -0
- package/public/assets/flowGraphContextBlock-BS3b2XbE.js +1 -0
- package/public/assets/flowGraphContextBlock-BS3b2XbE.js.br +0 -0
- package/public/assets/flowGraphContextBlock-BS3b2XbE.js.gz +0 -0
- package/public/assets/flowGraphCounterBlock-xdcRCw4l.js +1 -0
- package/public/assets/flowGraphCounterBlock-xdcRCw4l.js.br +0 -0
- package/public/assets/flowGraphCounterBlock-xdcRCw4l.js.gz +0 -0
- package/public/assets/flowGraphDataSwitchBlock-dY8TSZtd.js +1 -0
- package/public/assets/flowGraphDataSwitchBlock-dY8TSZtd.js.br +0 -0
- package/public/assets/flowGraphDataSwitchBlock-dY8TSZtd.js.gz +0 -0
- package/public/assets/flowGraphDebounceBlock-Q_f2x-ID.js +1 -0
- package/public/assets/flowGraphDebounceBlock-Q_f2x-ID.js.br +0 -0
- package/public/assets/flowGraphDebounceBlock-Q_f2x-ID.js.gz +0 -0
- package/public/assets/flowGraphDoNBlock-COo31G00.js +1 -0
- package/public/assets/flowGraphDoNBlock-COo31G00.js.br +0 -0
- package/public/assets/flowGraphDoNBlock-COo31G00.js.gz +0 -0
- package/public/assets/flowGraphEasingBlock-jGW-fKIB.js +1 -0
- package/public/assets/flowGraphEasingBlock-jGW-fKIB.js.br +0 -0
- package/public/assets/flowGraphEasingBlock-jGW-fKIB.js.gz +0 -0
- package/public/assets/flowGraphFlipFlopBlock-B8znf-3o.js +1 -0
- package/public/assets/flowGraphFlipFlopBlock-B8znf-3o.js.br +0 -0
- package/public/assets/flowGraphFlipFlopBlock-B8znf-3o.js.gz +0 -0
- package/public/assets/flowGraphForLoopBlock-UxZSh8US.js +1 -0
- package/public/assets/flowGraphForLoopBlock-UxZSh8US.js.br +0 -0
- package/public/assets/flowGraphForLoopBlock-UxZSh8US.js.gz +0 -0
- package/public/assets/flowGraphFunctionReferenceBlock-c3ZQWBhk.js +1 -0
- package/public/assets/flowGraphFunctionReferenceBlock-c3ZQWBhk.js.br +0 -0
- package/public/assets/flowGraphFunctionReferenceBlock-c3ZQWBhk.js.gz +0 -0
- package/public/assets/flowGraphGetAssetBlock-B3zYUZmJ.js +1 -0
- package/public/assets/flowGraphGetAssetBlock-B3zYUZmJ.js.br +0 -0
- package/public/assets/flowGraphGetAssetBlock-B3zYUZmJ.js.gz +0 -0
- package/public/assets/flowGraphGetPropertyBlock-D--vcmMS.js +1 -0
- package/public/assets/flowGraphGetPropertyBlock-D--vcmMS.js.br +0 -0
- package/public/assets/flowGraphGetPropertyBlock-D--vcmMS.js.gz +0 -0
- package/public/assets/flowGraphGetVariableBlock-BkCEyiL6.js +1 -0
- package/public/assets/flowGraphGetVariableBlock-BkCEyiL6.js.br +0 -0
- package/public/assets/flowGraphGetVariableBlock-BkCEyiL6.js.gz +0 -0
- package/public/assets/flowGraphIndexOfBlock-C4ipR7YB.js +1 -0
- package/public/assets/flowGraphIndexOfBlock-C4ipR7YB.js.br +0 -0
- package/public/assets/flowGraphIndexOfBlock-C4ipR7YB.js.gz +0 -0
- package/public/assets/flowGraphInterpolationBlock-DuRc3LX7.js +1 -0
- package/public/assets/flowGraphInterpolationBlock-DuRc3LX7.js.br +0 -0
- package/public/assets/flowGraphInterpolationBlock-DuRc3LX7.js.gz +0 -0
- package/public/assets/flowGraphJsonPointerParserBlock-urEWktqi.js +1 -0
- package/public/assets/flowGraphJsonPointerParserBlock-urEWktqi.js.br +0 -0
- package/public/assets/flowGraphJsonPointerParserBlock-urEWktqi.js.gz +0 -0
- package/public/assets/flowGraphMathBlocks-CGTCQVqz.js +1 -0
- package/public/assets/flowGraphMathBlocks-CGTCQVqz.js.br +0 -0
- package/public/assets/flowGraphMathBlocks-CGTCQVqz.js.gz +0 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-DDHGbRPt.js +1 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-DDHGbRPt.js.br +0 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-DDHGbRPt.js.gz +0 -0
- package/public/assets/flowGraphMatrixMathBlocks-Bwp1BysB.js +1 -0
- package/public/assets/flowGraphMatrixMathBlocks-Bwp1BysB.js.br +0 -0
- package/public/assets/flowGraphMatrixMathBlocks-Bwp1BysB.js.gz +0 -0
- package/public/assets/flowGraphMeshPickEventBlock-2wkqhQCG.js +1 -0
- package/public/assets/flowGraphMeshPickEventBlock-2wkqhQCG.js.br +0 -0
- package/public/assets/flowGraphMeshPickEventBlock-2wkqhQCG.js.gz +0 -0
- package/public/assets/flowGraphMultiGateBlock-BuKmvqC8.js +1 -0
- package/public/assets/flowGraphMultiGateBlock-BuKmvqC8.js.br +0 -0
- package/public/assets/flowGraphMultiGateBlock-BuKmvqC8.js.gz +0 -0
- package/public/assets/flowGraphPauseAnimationBlock-T_-VP-t5.js +1 -0
- package/public/assets/flowGraphPauseAnimationBlock-T_-VP-t5.js.br +0 -0
- package/public/assets/flowGraphPauseAnimationBlock-T_-VP-t5.js.gz +0 -0
- package/public/assets/flowGraphPlayAnimationBlock-DDVrE__n.js +1 -0
- package/public/assets/flowGraphPlayAnimationBlock-DDVrE__n.js.br +0 -0
- package/public/assets/flowGraphPlayAnimationBlock-DDVrE__n.js.gz +0 -0
- package/public/assets/flowGraphPointerOutEventBlock-Cx15Sf5R.js +1 -0
- package/public/assets/flowGraphPointerOutEventBlock-Cx15Sf5R.js.br +0 -0
- package/public/assets/flowGraphPointerOutEventBlock-Cx15Sf5R.js.gz +0 -0
- package/public/assets/flowGraphPointerOverEventBlock-DzzHa-dN.js +1 -0
- package/public/assets/flowGraphPointerOverEventBlock-DzzHa-dN.js.br +0 -0
- package/public/assets/flowGraphPointerOverEventBlock-DzzHa-dN.js.gz +0 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-DKfLODu3.js +1 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-DKfLODu3.js.br +0 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-DKfLODu3.js.gz +0 -0
- package/public/assets/flowGraphSceneReadyEventBlock-ClJu3s64.js +1 -0
- package/public/assets/flowGraphSceneReadyEventBlock-ClJu3s64.js.br +0 -0
- package/public/assets/flowGraphSceneReadyEventBlock-ClJu3s64.js.gz +0 -0
- package/public/assets/flowGraphSceneTickEventBlock-3ZNr4eqw.js +1 -0
- package/public/assets/flowGraphSceneTickEventBlock-3ZNr4eqw.js.br +0 -0
- package/public/assets/flowGraphSceneTickEventBlock-3ZNr4eqw.js.gz +0 -0
- package/public/assets/flowGraphSendCustomEventBlock-CdKQeuma.js +1 -0
- package/public/assets/flowGraphSendCustomEventBlock-CdKQeuma.js.br +0 -0
- package/public/assets/flowGraphSendCustomEventBlock-CdKQeuma.js.gz +0 -0
- package/public/assets/flowGraphSequenceBlock-D0-_bFV3.js +1 -0
- package/public/assets/flowGraphSequenceBlock-D0-_bFV3.js.br +0 -0
- package/public/assets/flowGraphSequenceBlock-D0-_bFV3.js.gz +0 -0
- package/public/assets/flowGraphSetDelayBlock-B8946WOc.js +1 -0
- package/public/assets/flowGraphSetDelayBlock-B8946WOc.js.br +0 -0
- package/public/assets/flowGraphSetDelayBlock-B8946WOc.js.gz +0 -0
- package/public/assets/flowGraphSetPropertyBlock-Cx0IyW-a.js +1 -0
- package/public/assets/flowGraphSetPropertyBlock-Cx0IyW-a.js.br +0 -0
- package/public/assets/flowGraphSetPropertyBlock-Cx0IyW-a.js.gz +0 -0
- package/public/assets/flowGraphSetVariableBlock-0dns_CH6.js +1 -0
- package/public/assets/flowGraphSetVariableBlock-0dns_CH6.js.br +0 -0
- package/public/assets/flowGraphSetVariableBlock-0dns_CH6.js.gz +0 -0
- package/public/assets/flowGraphStopAnimationBlock-z4ou311H.js +1 -0
- package/public/assets/flowGraphStopAnimationBlock-z4ou311H.js.br +0 -0
- package/public/assets/flowGraphStopAnimationBlock-z4ou311H.js.gz +0 -0
- package/public/assets/flowGraphSwitchBlock-E7meS39u.js +1 -0
- package/public/assets/flowGraphSwitchBlock-E7meS39u.js.br +0 -0
- package/public/assets/flowGraphSwitchBlock-E7meS39u.js.gz +0 -0
- package/public/assets/flowGraphThrottleBlock-CldHJDs6.js +1 -0
- package/public/assets/flowGraphThrottleBlock-CldHJDs6.js.br +0 -0
- package/public/assets/flowGraphThrottleBlock-CldHJDs6.js.gz +0 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-pYdpcwK7.js +1 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-pYdpcwK7.js.br +0 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-pYdpcwK7.js.gz +0 -0
- package/public/assets/flowGraphTypeToTypeBlocks-CYfvLPJ-.js +1 -0
- package/public/assets/flowGraphTypeToTypeBlocks-CYfvLPJ-.js.br +0 -0
- package/public/assets/flowGraphTypeToTypeBlocks-CYfvLPJ-.js.gz +0 -0
- package/public/assets/flowGraphUnaryOperationBlock-s-kJ99D8.js +1 -0
- package/public/assets/flowGraphUnaryOperationBlock-s-kJ99D8.js.br +0 -0
- package/public/assets/flowGraphUnaryOperationBlock-s-kJ99D8.js.gz +0 -0
- package/public/assets/flowGraphVectorMathBlocks-D7iofIoY.js +1 -0
- package/public/assets/flowGraphVectorMathBlocks-D7iofIoY.js.br +0 -0
- package/public/assets/flowGraphVectorMathBlocks-D7iofIoY.js.gz +0 -0
- package/public/assets/flowGraphWaitAllBlock-CAW7HgUP.js +1 -0
- package/public/assets/flowGraphWaitAllBlock-CAW7HgUP.js.br +0 -0
- package/public/assets/flowGraphWaitAllBlock-CAW7HgUP.js.gz +0 -0
- package/public/assets/flowGraphWhileLoopBlock-DRP9_Zd1.js +1 -0
- package/public/assets/flowGraphWhileLoopBlock-DRP9_Zd1.js.br +0 -0
- package/public/assets/flowGraphWhileLoopBlock-DRP9_Zd1.js.gz +0 -0
- package/public/assets/fogFragmentDeclaration-CzUy86ul.js +22 -0
- package/public/assets/fogFragmentDeclaration-CzUy86ul.js.br +0 -0
- package/public/assets/fogFragmentDeclaration-CzUy86ul.js.gz +0 -0
- package/public/assets/fogFragmentDeclaration-kfcrkpgB.js +23 -0
- package/public/assets/fogFragmentDeclaration-kfcrkpgB.js.br +0 -0
- package/public/assets/fogFragmentDeclaration-kfcrkpgB.js.gz +0 -0
- package/public/assets/glowBlurPostProcess.fragment-CS_rTtUL.js +7 -0
- package/public/assets/glowBlurPostProcess.fragment-CS_rTtUL.js.br +0 -0
- package/public/assets/glowBlurPostProcess.fragment-CS_rTtUL.js.gz +0 -0
- package/public/assets/glowBlurPostProcess.fragment-G_xfSiIr.js +7 -0
- package/public/assets/glowBlurPostProcess.fragment-G_xfSiIr.js.br +0 -0
- package/public/assets/glowBlurPostProcess.fragment-G_xfSiIr.js.gz +0 -0
- package/public/assets/glowMapGeneration.fragment-DwJ3bpr6.js +63 -0
- package/public/assets/glowMapGeneration.fragment-DwJ3bpr6.js.br +0 -0
- package/public/assets/glowMapGeneration.fragment-DwJ3bpr6.js.gz +0 -0
- package/public/assets/glowMapGeneration.fragment-mDEHNZRi.js +63 -0
- package/public/assets/glowMapGeneration.fragment-mDEHNZRi.js.br +0 -0
- package/public/assets/glowMapGeneration.fragment-mDEHNZRi.js.gz +0 -0
- package/public/assets/glowMapGeneration.vertex-BACa9-r4.js +75 -0
- package/public/assets/glowMapGeneration.vertex-BACa9-r4.js.br +0 -0
- package/public/assets/glowMapGeneration.vertex-BACa9-r4.js.gz +0 -0
- package/public/assets/glowMapGeneration.vertex-mAWUJxSB.js +75 -0
- package/public/assets/glowMapGeneration.vertex-mAWUJxSB.js.br +3 -0
- package/public/assets/glowMapGeneration.vertex-mAWUJxSB.js.gz +0 -0
- package/public/assets/glowMapMerge.fragment-0Im35OVD.js +23 -0
- package/public/assets/glowMapMerge.fragment-0Im35OVD.js.br +0 -0
- package/public/assets/glowMapMerge.fragment-0Im35OVD.js.gz +0 -0
- package/public/assets/glowMapMerge.fragment-BXHfrWgL.js +25 -0
- package/public/assets/glowMapMerge.fragment-BXHfrWgL.js.br +0 -0
- package/public/assets/glowMapMerge.fragment-BXHfrWgL.js.gz +0 -0
- package/public/assets/glowMapMerge.vertex-8A2ntYoS.js +7 -0
- package/public/assets/glowMapMerge.vertex-8A2ntYoS.js.br +0 -0
- package/public/assets/glowMapMerge.vertex-8A2ntYoS.js.gz +0 -0
- package/public/assets/glowMapMerge.vertex-Cnm-5WLT.js +8 -0
- package/public/assets/glowMapMerge.vertex-Cnm-5WLT.js.br +0 -0
- package/public/assets/glowMapMerge.vertex-Cnm-5WLT.js.gz +0 -0
- package/public/assets/grain.fragment-BMGi-Hgp.js +6 -0
- package/public/assets/grain.fragment-BMGi-Hgp.js.br +0 -0
- package/public/assets/grain.fragment-BMGi-Hgp.js.gz +0 -0
- package/public/assets/grain.fragment-CH9zg05c.js +5 -0
- package/public/assets/grain.fragment-CH9zg05c.js.br +0 -0
- package/public/assets/grain.fragment-CH9zg05c.js.gz +0 -0
- package/public/assets/harmonicsFunctions-BQTTvws3.js +192 -0
- package/public/assets/harmonicsFunctions-BQTTvws3.js.br +0 -0
- package/public/assets/harmonicsFunctions-BQTTvws3.js.gz +0 -0
- package/public/assets/harmonicsFunctions-DtIiYWL1.js +189 -0
- package/public/assets/harmonicsFunctions-DtIiYWL1.js.br +0 -0
- package/public/assets/harmonicsFunctions-DtIiYWL1.js.gz +0 -0
- package/public/assets/hdrTextureLoader-Dqvpv0kr.js +2 -0
- package/public/assets/hdrTextureLoader-Dqvpv0kr.js.br +0 -0
- package/public/assets/hdrTextureLoader-Dqvpv0kr.js.gz +0 -0
- package/public/assets/iesTextureLoader-B8AoKSG2.js +2 -0
- package/public/assets/iesTextureLoader-B8AoKSG2.js.br +0 -0
- package/public/assets/iesTextureLoader-B8AoKSG2.js.gz +0 -0
- package/public/assets/index-CiIoJ8v1.js +4 -0
- package/public/assets/index-CiIoJ8v1.js.br +0 -0
- package/public/assets/index-CiIoJ8v1.js.gz +0 -0
- package/public/assets/index-Dhf9rSmv.js +1 -0
- package/public/assets/index-Dhf9rSmv.js.br +0 -0
- package/public/assets/index-Dhf9rSmv.js.gz +0 -0
- package/public/assets/instancesDeclaration-B2a0VuuR.js +23 -0
- package/public/assets/instancesDeclaration-B2a0VuuR.js.br +0 -0
- package/public/assets/instancesDeclaration-B2a0VuuR.js.gz +0 -0
- package/public/assets/ktxTextureLoader-DTr7AKqG.js +1 -0
- package/public/assets/ktxTextureLoader-DTr7AKqG.js.br +0 -0
- package/public/assets/ktxTextureLoader-DTr7AKqG.js.gz +0 -0
- package/public/assets/lazy-Cj-01uhW.js +2 -0
- package/public/assets/lazy-Cj-01uhW.js.br +0 -0
- package/public/assets/lazy-Cj-01uhW.js.gz +0 -0
- package/public/assets/lod.fragment-BuvQbBhE.js +3 -0
- package/public/assets/lod.fragment-BuvQbBhE.js.br +0 -0
- package/public/assets/lod.fragment-BuvQbBhE.js.gz +0 -0
- package/public/assets/lod.fragment-Cp0eqGjl.js +3 -0
- package/public/assets/lod.fragment-Cp0eqGjl.js.br +3 -0
- package/public/assets/lod.fragment-Cp0eqGjl.js.gz +0 -0
- package/public/assets/lodCube.fragment-CI1eTppS.js +22 -0
- package/public/assets/lodCube.fragment-CI1eTppS.js.br +2 -0
- package/public/assets/lodCube.fragment-CI1eTppS.js.gz +0 -0
- package/public/assets/lodCube.fragment-yDzV1teg.js +22 -0
- package/public/assets/lodCube.fragment-yDzV1teg.js.br +0 -0
- package/public/assets/lodCube.fragment-yDzV1teg.js.gz +0 -0
- package/public/assets/logDepthDeclaration-CeLLOhuK.js +4 -0
- package/public/assets/logDepthDeclaration-XDsVKoT0.js +4 -0
- package/public/assets/logDepthFragment-BPP-rBiT.js +4 -0
- package/public/assets/logDepthFragment-BPP-rBiT.js.br +0 -0
- package/public/assets/logDepthFragment-BPP-rBiT.js.gz +0 -0
- package/public/assets/logDepthFragment-CDaMyvfH.js +4 -0
- package/public/assets/logDepthVertex-CkFa6uAf.js +4 -0
- package/public/assets/logDepthVertex-CkFa6uAf.js.br +0 -0
- package/public/assets/logDepthVertex-CkFa6uAf.js.gz +0 -0
- package/public/assets/logDepthVertex-H6E8NLz1.js +4 -0
- package/public/assets/logDepthVertex-H6E8NLz1.js.br +1 -0
- package/public/assets/logDepthVertex-H6E8NLz1.js.gz +0 -0
- package/public/assets/mainUVVaryingDeclaration-DdwP8xi_.js +4 -0
- package/public/assets/mainUVVaryingDeclaration-OBB3LR8s.js +4 -0
- package/public/assets/mesh.vertexData.functions-BXkNVxNr.js +1 -0
- package/public/assets/mesh.vertexData.functions-BXkNVxNr.js.br +0 -0
- package/public/assets/mesh.vertexData.functions-BXkNVxNr.js.gz +0 -0
- package/public/assets/meshUboDeclaration-Cr5YhBB1.js +13 -0
- package/public/assets/meshUboDeclaration-Cr5YhBB1.js.br +0 -0
- package/public/assets/meshUboDeclaration-Cr5YhBB1.js.gz +0 -0
- package/public/assets/meshUboDeclaration-Uj1CsoJP.js +13 -0
- package/public/assets/meshUboDeclaration-Uj1CsoJP.js.br +0 -0
- package/public/assets/meshUboDeclaration-Uj1CsoJP.js.gz +0 -0
- package/public/assets/morphTargetsVertex-B9xWvV_u.js +100 -0
- package/public/assets/morphTargetsVertex-B9xWvV_u.js.br +0 -0
- package/public/assets/morphTargetsVertex-B9xWvV_u.js.gz +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-4NtZHGOG.js +3 -0
- package/public/assets/oitFinalSimpleBlend.fragment-4NtZHGOG.js.br +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-4NtZHGOG.js.gz +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-D8T6jyS0.js +2 -0
- package/public/assets/oitFinalSimpleBlend.fragment-D8T6jyS0.js.br +3 -0
- package/public/assets/oitFinalSimpleBlend.fragment-D8T6jyS0.js.gz +0 -0
- package/public/assets/oitFragment-CK8Y-Z-q.js +1202 -0
- package/public/assets/oitFragment-CK8Y-Z-q.js.br +0 -0
- package/public/assets/oitFragment-CK8Y-Z-q.js.gz +0 -0
- package/public/assets/oitFragment-ZUHesxAg.js +1077 -0
- package/public/assets/oitFragment-ZUHesxAg.js.br +0 -0
- package/public/assets/oitFragment-ZUHesxAg.js.gz +0 -0
- package/public/assets/openpbrMaterial-Dc7VVRl6.js +2 -0
- package/public/assets/openpbrMaterial-Dc7VVRl6.js.br +0 -0
- package/public/assets/openpbrMaterial-Dc7VVRl6.js.gz +0 -0
- package/public/assets/outline.fragment-BK0vgcx7.js +21 -0
- package/public/assets/outline.fragment-BK0vgcx7.js.br +0 -0
- package/public/assets/outline.fragment-BK0vgcx7.js.gz +0 -0
- package/public/assets/outline.fragment-DQK2JikO.js +18 -0
- package/public/assets/outline.fragment-DQK2JikO.js.br +0 -0
- package/public/assets/outline.fragment-DQK2JikO.js.gz +0 -0
- package/public/assets/outline.vertex-CHR7GZYH.js +47 -0
- package/public/assets/outline.vertex-CHR7GZYH.js.br +0 -0
- package/public/assets/outline.vertex-CHR7GZYH.js.gz +0 -0
- package/public/assets/outline.vertex-CKcILDiL.js +47 -0
- package/public/assets/outline.vertex-CKcILDiL.js.br +0 -0
- package/public/assets/outline.vertex-CKcILDiL.js.gz +0 -0
- package/public/assets/passCube.fragment-Ch6aeybh.js +23 -0
- package/public/assets/passCube.fragment-Ch6aeybh.js.br +0 -0
- package/public/assets/passCube.fragment-Ch6aeybh.js.gz +0 -0
- package/public/assets/passCube.fragment-wvJ8mb6_.js +23 -0
- package/public/assets/passCube.fragment-wvJ8mb6_.js.br +0 -0
- package/public/assets/passCube.fragment-wvJ8mb6_.js.gz +0 -0
- package/public/assets/pbr.fragment-Bo4XM7Ct.js +3277 -0
- package/public/assets/pbr.fragment-Bo4XM7Ct.js.br +0 -0
- package/public/assets/pbr.fragment-Bo4XM7Ct.js.gz +0 -0
- package/public/assets/pbr.fragment-T2xKI2J0.js +3327 -0
- package/public/assets/pbr.fragment-T2xKI2J0.js.br +0 -0
- package/public/assets/pbr.fragment-T2xKI2J0.js.gz +0 -0
- package/public/assets/pbr.vertex-BezAbBHx.js +357 -0
- package/public/assets/pbr.vertex-BezAbBHx.js.br +0 -0
- package/public/assets/pbr.vertex-BezAbBHx.js.gz +0 -0
- package/public/assets/pbr.vertex-w2ZWBdHy.js +227 -0
- package/public/assets/pbr.vertex-w2ZWBdHy.js.br +0 -0
- package/public/assets/pbr.vertex-w2ZWBdHy.js.gz +0 -0
- package/public/assets/playable-sdk-zAYuBOLj.js +8 -0
- package/public/assets/playable-sdk-zAYuBOLj.js.br +0 -0
- package/public/assets/playable-sdk-zAYuBOLj.js.gz +0 -0
- package/public/assets/playable-standard-project-Brbyn9c4.js +5140 -0
- package/public/assets/playable-standard-project-Brbyn9c4.js.br +0 -0
- package/public/assets/playable-standard-project-Brbyn9c4.js.gz +0 -0
- package/public/assets/rgbdDecode.fragment-BQ16CsAv.js +5 -0
- package/public/assets/rgbdDecode.fragment-BQ16CsAv.js.br +4 -0
- package/public/assets/rgbdDecode.fragment-BQ16CsAv.js.gz +0 -0
- package/public/assets/rgbdDecode.fragment-D_2CJy2O.js +5 -0
- package/public/assets/rgbdDecode.fragment-D_2CJy2O.js.br +0 -0
- package/public/assets/rgbdDecode.fragment-D_2CJy2O.js.gz +0 -0
- package/public/assets/rgbdEncode.fragment-CmDv6yEZ.js +5 -0
- package/public/assets/rgbdEncode.fragment-CmDv6yEZ.js.br +3 -0
- package/public/assets/rgbdEncode.fragment-CmDv6yEZ.js.gz +0 -0
- package/public/assets/rgbdEncode.fragment-QRg2h8KC.js +5 -0
- package/public/assets/rgbdEncode.fragment-QRg2h8KC.js.br +1 -0
- package/public/assets/rgbdEncode.fragment-QRg2h8KC.js.gz +0 -0
- package/public/assets/sceneLoader-CDreObGG.js +1 -0
- package/public/assets/sceneLoader-CDreObGG.js.br +0 -0
- package/public/assets/sceneLoader-CDreObGG.js.gz +0 -0
- package/public/assets/screenSpaceCurvature.fragment-BWdr_4iW.js +15 -0
- package/public/assets/screenSpaceCurvature.fragment-BWdr_4iW.js.br +0 -0
- package/public/assets/screenSpaceCurvature.fragment-BWdr_4iW.js.gz +0 -0
- package/public/assets/selection.fragment-CVXAuXcC.js +35 -0
- package/public/assets/selection.fragment-CVXAuXcC.js.br +0 -0
- package/public/assets/selection.fragment-CVXAuXcC.js.gz +0 -0
- package/public/assets/selection.fragment-DobH4NRw.js +35 -0
- package/public/assets/selection.fragment-DobH4NRw.js.br +0 -0
- package/public/assets/selection.fragment-DobH4NRw.js.gz +0 -0
- package/public/assets/selection.vertex-BUBv8X1j.js +74 -0
- package/public/assets/selection.vertex-BUBv8X1j.js.br +0 -0
- package/public/assets/selection.vertex-BUBv8X1j.js.gz +0 -0
- package/public/assets/selection.vertex-DlADXBtf.js +73 -0
- package/public/assets/selection.vertex-DlADXBtf.js.br +0 -0
- package/public/assets/selection.vertex-DlADXBtf.js.gz +0 -0
- package/public/assets/selectionOutline.fragment-CWpNrg8m.js +47 -0
- package/public/assets/selectionOutline.fragment-CWpNrg8m.js.br +0 -0
- package/public/assets/selectionOutline.fragment-CWpNrg8m.js.gz +0 -0
- package/public/assets/selectionOutline.fragment-DoKuUf2L.js +48 -0
- package/public/assets/selectionOutline.fragment-DoKuUf2L.js.br +0 -0
- package/public/assets/selectionOutline.fragment-DoKuUf2L.js.gz +0 -0
- package/public/assets/shadowMap.fragment-BEwhnKOg.js +78 -0
- package/public/assets/shadowMap.fragment-BEwhnKOg.js.br +0 -0
- package/public/assets/shadowMap.fragment-BEwhnKOg.js.gz +0 -0
- package/public/assets/shadowMap.fragment-CVar4C4N.js +79 -0
- package/public/assets/shadowMap.fragment-CVar4C4N.js.br +0 -0
- package/public/assets/shadowMap.fragment-CVar4C4N.js.gz +0 -0
- package/public/assets/shadowMap.vertex-ImOoSjTb.js +109 -0
- package/public/assets/shadowMap.vertex-ImOoSjTb.js.br +0 -0
- package/public/assets/shadowMap.vertex-ImOoSjTb.js.gz +0 -0
- package/public/assets/shadowMap.vertex-Q2d15P5z.js +119 -0
- package/public/assets/shadowMap.vertex-Q2d15P5z.js.br +0 -0
- package/public/assets/shadowMap.vertex-Q2d15P5z.js.gz +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BmxybqRD.js +4 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BmxybqRD.js.br +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BmxybqRD.js.gz +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-D6ZvWsNy.js +4 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-D6ZvWsNy.js.br +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-D6ZvWsNy.js.gz +0 -0
- package/public/assets/sharpen.fragment-CI40r28S.js +8 -0
- package/public/assets/sharpen.fragment-CI40r28S.js.br +0 -0
- package/public/assets/sharpen.fragment-CI40r28S.js.gz +0 -0
- package/public/assets/textureMerger.fragment-BGsvQGn5.js +84 -0
- package/public/assets/textureMerger.fragment-BGsvQGn5.js.br +0 -0
- package/public/assets/textureMerger.fragment-BGsvQGn5.js.gz +0 -0
- package/public/assets/textureMerger.fragment-Q7yPwkGt.js +76 -0
- package/public/assets/textureMerger.fragment-Q7yPwkGt.js.br +0 -0
- package/public/assets/textureMerger.fragment-Q7yPwkGt.js.gz +0 -0
- package/public/assets/tgaTextureLoader-D7Pjisvo.js +1 -0
- package/public/assets/tgaTextureLoader-D7Pjisvo.js.br +0 -0
- package/public/assets/tgaTextureLoader-D7Pjisvo.js.gz +0 -0
- package/public/assets/vertexColorMixing-CwuEx4gP.js +20 -0
- package/public/assets/vertexColorMixing-CwuEx4gP.js.br +0 -0
- package/public/assets/vertexColorMixing-CwuEx4gP.js.gz +0 -0
- package/public/assets/vertexColorMixing-DRlcGbEu.js +24 -0
- package/public/assets/vertexColorMixing-DRlcGbEu.js.br +2 -0
- package/public/assets/vertexColorMixing-DRlcGbEu.js.gz +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-0VKaEyya.js +12 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-0VKaEyya.js.br +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-0VKaEyya.js.gz +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-BZLjMggm.js +11 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-BZLjMggm.js.br +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-BZLjMggm.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-6GAsdyvE.js +15 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-6GAsdyvE.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-6GAsdyvE.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-Da_DpfG1.js +13 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-Da_DpfG1.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-Da_DpfG1.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BdVFX-tC.js +4 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BdVFX-tC.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BdVFX-tC.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-DO-VIhJn.js +5 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-DO-VIhJn.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-DO-VIhJn.js.gz +0 -0
- package/public/assets/webAudioBus-BkMWEG1L.js +1 -0
- package/public/assets/webAudioBus-BkMWEG1L.js.br +0 -0
- package/public/assets/webAudioBus-BkMWEG1L.js.gz +0 -0
- package/public/assets/webAudioMainBus-DYcQXAkm.js +1 -0
- package/public/assets/webAudioMainBus-DYcQXAkm.js.br +0 -0
- package/public/assets/webAudioMainBus-DYcQXAkm.js.gz +0 -0
- package/public/assets/workerPool-H9Ji3mCo.js +1 -0
- package/public/assets/workerPool-H9Ji3mCo.js.br +2 -0
- package/public/assets/workerPool-H9Ji3mCo.js.gz +0 -0
- package/public/index.html +21 -0
- package/public/index.html.br +0 -0
- package/public/index.html.gz +0 -0
- package/runtime/editor-control-plane.mjs +5 -0
- package/runtime/runtime-debug-authoring-bridge.mjs +1 -0
- package/worker/editor-service-worker.mjs +27 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./babylon-core-PuGyjHMj.js","./dynamicTexture-Cuby-VOT.js","./animationGroup-C74XVFRE.js","./animation-C6iNAO1g.js","./lazy-Cj-01uhW.js","./workerPool-H9Ji3mCo.js","./easing-DbzzrXOl.js","./abstractAudioBus-BRAC2GY2.js","./webAudioBus-BkMWEG1L.js","./webAudioMainBus-DYcQXAkm.js","./arcRotateCamera-CIQYNBBJ.js","./flowGraphJsonPointerParserBlock-urEWktqi.js","./flowGraphCachedOperationBlock-BysRM-Ha.js","./flowGraphConsoleLogBlock-BBxVDGOV.js","./flowGraphBranchBlock-CV_leJX3.js","./flowGraphDoNBlock-COo31G00.js","./flowGraphForLoopBlock-UxZSh8US.js","./flowGraphThrottleBlock-CldHJDs6.js","./flowGraphMultiGateBlock-BuKmvqC8.js","./flowGraphSwitchBlock-E7meS39u.js","./flowGraphWaitAllBlock-CAW7HgUP.js","./flowGraphCounterBlock-xdcRCw4l.js","./flowGraphWhileLoopBlock-DRP9_Zd1.js","./flowGraphDebounceBlock-Q_f2x-ID.js","./flowGraphFlipFlopBlock-B8znf-3o.js","./flowGraphSequenceBlock-D0-_bFV3.js","./flowGraphSetDelayBlock-B8946WOc.js","./flowGraphCancelDelayBlock-BK6tDTGy.js","./flowGraphPlayAnimationBlock-DDVrE__n.js","./flowGraphStopAnimationBlock-z4ou311H.js","./flowGraphPauseAnimationBlock-T_-VP-t5.js","./flowGraphInterpolationBlock-DuRc3LX7.js","./flowGraphEasingBlock-jGW-fKIB.js","./flowGraphBezierCurveEasingBlock-Izh7s0Zh.js","./flowGraphConditionalDataBlock-D7OU_UOM.js","./flowGraphGetVariableBlock-BkCEyiL6.js","./flowGraphSetVariableBlock-0dns_CH6.js","./flowGraphTransformCoordinatesSystemBlock-pYdpcwK7.js","./flowGraphGetPropertyBlock-D--vcmMS.js","./flowGraphSetPropertyBlock-Cx0IyW-a.js","./flowGraphConstantBlock-Cn3ZMGR0.js","./flowGraphGetAssetBlock-B3zYUZmJ.js","./flowGraphDataSwitchBlock-dY8TSZtd.js","./flowGraphMathBlocks-CGTCQVqz.js","./flowGraphBinaryOperationBlock-BRfalQP5.js","./flowGraphUnaryOperationBlock-s-kJ99D8.js","./flowGraphMathCombineExtractBlocks-DDHGbRPt.js","./flowGraphMatrixMathBlocks-Bwp1BysB.js","./flowGraphVectorMathBlocks-D7iofIoY.js","./flowGraphTypeToTypeBlocks-CYfvLPJ-.js","./flowGraphContextBlock-BS3b2XbE.js","./flowGraphArrayIndexBlock-C8nTWR8h.js","./flowGraphCodeExecutionBlock-CQABvaP8.js","./flowGraphIndexOfBlock-C4ipR7YB.js","./flowGraphFunctionReferenceBlock-c3ZQWBhk.js","./flowGraphMeshPickEventBlock-2wkqhQCG.js","./flowGraphSceneReadyEventBlock-ClJu3s64.js","./flowGraphReceiveCustomEventBlock-DKfLODu3.js","./flowGraphSendCustomEventBlock-CdKQeuma.js","./flowGraphSceneTickEventBlock-3ZNr4eqw.js","./flowGraphPointerOutEventBlock-Cx15Sf5R.js","./flowGraphPointerOverEventBlock-DzzHa-dN.js","./glowMapGeneration.fragment-DwJ3bpr6.js","./glowMapGeneration.vertex-mAWUJxSB.js","./glowMapGeneration.fragment-mDEHNZRi.js","./clipPlaneFragment-Bgl3Usc4.js","./glowMapGeneration.vertex-BACa9-r4.js","./clipPlaneVertex-BxK9aoI2.js","./morphTargetsVertex-B9xWvV_u.js","./instancesDeclaration-B2a0VuuR.js","./glowMapMerge.fragment-0Im35OVD.js","./glowMapMerge.vertex-8A2ntYoS.js","./glowBlurPostProcess.fragment-CS_rTtUL.js","./glowMapMerge.fragment-BXHfrWgL.js","./glowMapMerge.vertex-Cnm-5WLT.js","./glowBlurPostProcess.fragment-G_xfSiIr.js","./shadowMap.fragment-BEwhnKOg.js","./shadowMap.vertex-ImOoSjTb.js","./meshUboDeclaration-Uj1CsoJP.js","./depthBoxBlur.fragment-BtTv8wid.js","./shadowMapFragmentSoftTransparentShadow-BmxybqRD.js","./shadowMap.fragment-CVar4C4N.js","./shadowMap.vertex-Q2d15P5z.js","./meshUboDeclaration-Cr5YhBB1.js","./depthBoxBlur.fragment-DViDG6Vb.js","./shadowMapFragmentSoftTransparentShadow-D6ZvWsNy.js","./iesTextureLoader-B8AoKSG2.js","./sceneLoader-CDreObGG.js","./pbr.vertex-w2ZWBdHy.js","./harmonicsFunctions-BQTTvws3.js","./bumpVertex-DpGOKCkn.js","./mainUVVaryingDeclaration-OBB3LR8s.js","./vertexColorMixing-DRlcGbEu.js","./logDepthDeclaration-XDsVKoT0.js","./logDepthVertex-CkFa6uAf.js","./pbr.fragment-Bo4XM7Ct.js","./oitFragment-ZUHesxAg.js","./fogFragmentDeclaration-CzUy86ul.js","./logDepthFragment-BPP-rBiT.js","./pbr.vertex-BezAbBHx.js","./bumpVertex-DMhnr4dz.js","./harmonicsFunctions-DtIiYWL1.js","./mainUVVaryingDeclaration-DdwP8xi_.js","./vertexColorMixing-CwuEx4gP.js","./logDepthDeclaration-CeLLOhuK.js","./logDepthVertex-H6E8NLz1.js","./pbr.fragment-T2xKI2J0.js","./oitFragment-CK8Y-Z-q.js","./fogFragmentDeclaration-kfcrkpgB.js","./logDepthFragment-CDaMyvfH.js","./ddsTextureLoader-s5HptTVZ.js","./dds-3J0FZYX1.js","./ktxTextureLoader-DTr7AKqG.js","./tgaTextureLoader-D7Pjisvo.js","./hdrTextureLoader-Dqvpv0kr.js","./basisTextureLoader-BdapVvhf.js","./exrTextureLoader-D39k4eK_.js","./default.fragment-C4zjkcFb.js","./defaultUboDeclaration-C8GCosBM.js","./default.fragment-C4xg7O-P.js","./defaultUboDeclaration-D26o_DDO.js","./default.vertex-A8wQopNr.js","./default.vertex-YrvIUn4x.js","./mesh.vertexData.functions-BXkNVxNr.js","./color.fragment-BUdIBar6.js","./color.vertex-CaMOSKlC.js","./color.fragment-CDn4ZgkT.js","./color.vertex-dgbB6mhK.js","./lodCube.fragment-CI1eTppS.js","./lod.fragment-BuvQbBhE.js","./lodCube.fragment-yDzV1teg.js","./lod.fragment-Cp0eqGjl.js","./rgbdDecode.fragment-BQ16CsAv.js","./rgbdEncode.fragment-CmDv6yEZ.js","./rgbdDecode.fragment-D_2CJy2O.js","./rgbdEncode.fragment-QRg2h8KC.js","./passCube.fragment-wvJ8mb6_.js","./passCube.fragment-Ch6aeybh.js","./sharpen.fragment-CI40r28S.js","./grain.fragment-BMGi-Hgp.js","./grain.fragment-CH9zg05c.js","./chromaticAberration.fragment-BgX-2zxS.js","./chromaticAberration.fragment-D7t6Txg4.js","./depthOfFieldMerge.fragment-DCspcdWZ.js","./depthOfFieldMerge.fragment-Ds-g4Ln8.js","./circleOfConfusion.fragment-D1RtHaPm.js","./circleOfConfusion.fragment-D8geMRma.js","./depth.fragment-Bn8G24s-.js","./depth.vertex-B2lrdlJh.js","./outline.fragment-BK0vgcx7.js","./outline.vertex-CHR7GZYH.js","./outline.fragment-DQK2JikO.js","./outline.vertex-CKcILDiL.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{gD as D,dm as S,Y as d,gF as Y,fy as Z,dk as F,fS as K,go as j,dq as g,em as H,fo as z,gG as N,eM as Q,gj as I,dr as k,s as q,F as $,v as J,w as ee,t as te,z as se,u as ie,D as re,C as ae,by as oe,cE as ne,eq as le,er as he,es as ue,ep as _e,eN as Te,e as ce,cN as U,eP as Ae,h4 as b,eD as me,eH as fe,eJ as pe,eI as Re,eE as Ee,eB as ge,eF as Se,eA as Ie,ev as Le,cP as ye,cQ as Oe,eU as de,gu as Ne,dn as xe,h3 as i,h6 as a,ir as A,hs as f,f1 as Ce}from"./dynamicTexture-Cuby-VOT.js";import{$ as Fe,a0 as w}from"./lazy-Cj-01uhW.js";import"./animation-C6iNAO1g.js";import"./workerPool-H9Ji3mCo.js";const x={effect:null,subMesh:null};class C{populateVectorFromLinkedProperties(s){const r=s.dimension[0];for(const e in this.linkedProperties){const o=this.linkedProperties[e],l=o.numComponents;if(r<l||o.targetUniformComponentOffset>r-l){l==1?F.Error(`Float property ${o.name} has an offset that is too large.`):F.Error(`Vector${l} property ${o.name} won't fit in Vector${r} or has an offset that is too large.`);return}typeof o.value=="number"?C._tmpArray[o.targetUniformComponentOffset]=o.value:o.value.toArray(C._tmpArray,o.targetUniformComponentOffset)}s.fromArray(C._tmpArray)}constructor(s,r){this.linkedProperties={},this.name=s,this.numComponents=r}}C._tmpArray=[0,0,0,0];class _{constructor(s,r,e,o,l=0){this.targetUniformComponentNum=4,this.targetUniformComponentOffset=0,this.name=s,this.targetUniformName=e,this.defaultValue=r,this.value=r,this.targetUniformComponentNum=o,this.targetUniformComponentOffset=l}get numComponents(){return typeof this.defaultValue=="number"?1:this.defaultValue.dimension[0]}}class c{get samplerName(){return this.samplerPrefix+"Sampler"}get samplerInfoName(){return"v"+this.samplerPrefix.charAt(0).toUpperCase()+this.samplerPrefix.slice(1)+"Infos"}get samplerMatrixName(){return this.samplerPrefix+"Matrix"}constructor(s,r,e){this.value=null,this.samplerPrefix="",this.textureDefine="",this.name=s,this.samplerPrefix=r,this.textureDefine=e}}class Me extends Ne(xe){}class V extends ye(Me){constructor(s){super(s),this.NUM_SAMPLES="0",this.REALTIME_FILTERING=!1,this.IBL_CDF_FILTERING=!1,this.VERTEXCOLOR=!1,this.BAKED_VERTEX_ANIMATION_TEXTURE=!1,this.VERTEXALPHA=!1,this.ALPHATEST=!1,this.DEPTHPREPASS=!1,this.ALPHABLEND=!1,this.ALPHA_FROM_BASE_COLOR_TEXTURE=!1,this.ALPHATESTVALUE="0.5",this.PREMULTIPLYALPHA=!1,this.REFLECTIVITY_GAMMA=!1,this.REFLECTIVITYDIRECTUV=0,this.SPECULARTERM=!1,this.LODBASEDMICROSFURACE=!0,this.SPECULAR_ROUGHNESS_FROM_METALNESS_TEXTURE_GREEN=!1,this.BASE_METALNESS_FROM_METALNESS_TEXTURE_BLUE=!1,this.AOSTOREINMETALMAPRED=!1,this.SPECULAR_WEIGHT_IN_ALPHA=!1,this.SPECULAR_WEIGHT_FROM_SPECULAR_COLOR_TEXTURE=!1,this.SPECULAR_ROUGHNESS_ANISOTROPY_FROM_TANGENT_TEXTURE=!1,this.COAT_ROUGHNESS_FROM_GREEN_CHANNEL=!1,this.COAT_ROUGHNESS_ANISOTROPY_FROM_TANGENT_TEXTURE=!1,this.USE_GLTF_STYLE_ANISOTROPY=!1,this.THIN_FILM_THICKNESS_FROM_THIN_FILM_TEXTURE=!1,this.FUZZ_ROUGHNESS_FROM_TEXTURE_ALPHA=!1,this.GEOMETRY_THICKNESS_FROM_GREEN_CHANNEL=!1,this.ENVIRONMENTBRDF=!1,this.ENVIRONMENTBRDF_RGBD=!1,this.FUZZENVIRONMENTBRDF=!1,this.NORMAL=!1,this.TANGENT=!1,this.OBJECTSPACE_NORMALMAP=!1,this.PARALLAX=!1,this.PARALLAX_RHS=!1,this.PARALLAXOCCLUSION=!1,this.NORMALXYSCALE=!0,this.ANISOTROPIC=!1,this.ANISOTROPIC_OPENPBR=!0,this.ANISOTROPIC_BASE=!1,this.ANISOTROPIC_COAT=!1,this.FUZZ_IBL_SAMPLES=6,this.FUZZ=!1,this.THIN_FILM=!1,this.IRIDESCENCE=!1,this.DISPERSION=!1,this.SCATTERING=!1,this.REFRACTED_BACKGROUND=!1,this.REFRACTED_LIGHTS=!1,this.REFRACTED_ENVIRONMENT=!1,this.REFRACTED_ENVIRONMENT_OPPOSITEZ=!1,this.REFRACTED_ENVIRONMENT_LOCAL_CUBE=!1,this.REFLECTION=!1,this.REFLECTIONMAP_3D=!1,this.REFLECTIONMAP_SPHERICAL=!1,this.REFLECTIONMAP_PLANAR=!1,this.REFLECTIONMAP_CUBIC=!1,this.USE_LOCAL_REFLECTIONMAP_CUBIC=!1,this.REFLECTIONMAP_PROJECTION=!1,this.REFLECTIONMAP_SKYBOX=!1,this.REFLECTIONMAP_EXPLICIT=!1,this.REFLECTIONMAP_EQUIRECTANGULAR=!1,this.REFLECTIONMAP_EQUIRECTANGULAR_FIXED=!1,this.REFLECTIONMAP_MIRROREDEQUIRECTANGULAR_FIXED=!1,this.INVERTCUBICMAP=!1,this.USESPHERICALFROMREFLECTIONMAP=!1,this.USEIRRADIANCEMAP=!1,this.USE_IRRADIANCE_DOMINANT_DIRECTION=!1,this.USESPHERICALINVERTEX=!1,this.REFLECTIONMAP_OPPOSITEZ=!1,this.LODINREFLECTIONALPHA=!1,this.GAMMAREFLECTION=!1,this.RGBDREFLECTION=!1,this.RADIANCEOCCLUSION=!1,this.HORIZONOCCLUSION=!1,this.INSTANCES=!1,this.THIN_INSTANCES=!1,this.INSTANCESCOLOR=!1,this.PREPASS=!1,this.PREPASS_COLOR=!1,this.PREPASS_COLOR_INDEX=-1,this.PREPASS_IRRADIANCE=!1,this.PREPASS_IRRADIANCE_INDEX=-1,this.PREPASS_ALBEDO=!1,this.PREPASS_ALBEDO_INDEX=-1,this.PREPASS_ALBEDO_SQRT=!1,this.PREPASS_ALBEDO_SQRT_INDEX=-1,this.PREPASS_DEPTH=!1,this.PREPASS_DEPTH_INDEX=-1,this.PREPASS_SCREENSPACE_DEPTH=!1,this.PREPASS_SCREENSPACE_DEPTH_INDEX=-1,this.PREPASS_NORMALIZED_VIEW_DEPTH=!1,this.PREPASS_NORMALIZED_VIEW_DEPTH_INDEX=-1,this.PREPASS_NORMAL=!1,this.PREPASS_NORMAL_INDEX=-1,this.PREPASS_NORMAL_WORLDSPACE=!1,this.PREPASS_WORLD_NORMAL=!1,this.PREPASS_WORLD_NORMAL_INDEX=-1,this.PREPASS_POSITION=!1,this.PREPASS_POSITION_INDEX=-1,this.PREPASS_LOCAL_POSITION=!1,this.PREPASS_LOCAL_POSITION_INDEX=-1,this.PREPASS_VELOCITY=!1,this.PREPASS_VELOCITY_INDEX=-1,this.PREPASS_VELOCITY_LINEAR=!1,this.PREPASS_VELOCITY_LINEAR_INDEX=-1,this.PREPASS_REFLECTIVITY=!1,this.PREPASS_REFLECTIVITY_INDEX=-1,this.SCENE_MRT_COUNT=0,this.NUM_BONE_INFLUENCERS=0,this.BonesPerMesh=0,this.BONETEXTURE=!1,this.BONES_VELOCITY_ENABLED=!1,this.NONUNIFORMSCALING=!1,this.MORPHTARGETS=!1,this.MORPHTARGETS_POSITION=!1,this.MORPHTARGETS_NORMAL=!1,this.MORPHTARGETS_TANGENT=!1,this.MORPHTARGETS_UV=!1,this.MORPHTARGETS_UV2=!1,this.MORPHTARGETS_COLOR=!1,this.MORPHTARGETTEXTURE_HASPOSITIONS=!1,this.MORPHTARGETTEXTURE_HASNORMALS=!1,this.MORPHTARGETTEXTURE_HASTANGENTS=!1,this.MORPHTARGETTEXTURE_HASUVS=!1,this.MORPHTARGETTEXTURE_HASUV2S=!1,this.MORPHTARGETTEXTURE_HASCOLORS=!1,this.NUM_MORPH_INFLUENCERS=0,this.MORPHTARGETS_TEXTURE=!1,this.USEPHYSICALLIGHTFALLOFF=!1,this.USEGLTFLIGHTFALLOFF=!1,this.TWOSIDEDLIGHTING=!1,this.MIRRORED=!1,this.SHADOWFLOAT=!1,this.CLIPPLANE=!1,this.CLIPPLANE2=!1,this.CLIPPLANE3=!1,this.CLIPPLANE4=!1,this.CLIPPLANE5=!1,this.CLIPPLANE6=!1,this.POINTSIZE=!1,this.FOG=!1,this.LOGARITHMICDEPTH=!1,this.CAMERA_ORTHOGRAPHIC=!1,this.CAMERA_PERSPECTIVE=!1,this.AREALIGHTSUPPORTED=!0,this.FORCENORMALFORWARD=!1,this.SPECULARAA=!1,this.UNLIT=!1,this.DECAL_AFTER_DETAIL=!1,this.DEBUGMODE=0,this.CLUSTLIGHT_SLICES=0,this.CLUSTLIGHT_BATCH=0,this.BRDF_V_HEIGHT_CORRELATED=!0,this.MS_BRDF_ENERGY_CONSERVATION=!0,this.SPHERICAL_HARMONICS=!0,this.SPECULAR_GLOSSINESS_ENERGY_CONSERVATION=!0,this.MIX_IBL_RADIANCE_WITH_IRRADIANCE=!0,this.LEGACY_SPECULAR_ENERGY_CONSERVATION=!1,this.BASE_DIFFUSE_MODEL=0,this.DIELECTRIC_SPECULAR_MODEL=1,this.CONDUCTOR_SPECULAR_MODEL=1,this.rebuild()}reset(){super.reset(),this.ALPHATESTVALUE="0.5",this.NORMALXYSCALE=!0}}class Pe extends Oe(de){}class t extends Pe{get geometryTangentAngle(){return Math.atan2(this.geometryTangent.y,this.geometryTangent.x)}set geometryTangentAngle(s){this.geometryTangent=new D(Math.cos(s),Math.sin(s))}get geometryCoatTangentAngle(){return Math.atan2(this.geometryCoatTangent.y,this.geometryCoatTangent.x)}set geometryCoatTangentAngle(s){this.geometryCoatTangent=new D(Math.cos(s),Math.sin(s))}get usePhysicalLightFalloff(){return this._lightFalloff===S.LIGHTFALLOFF_PHYSICAL}set usePhysicalLightFalloff(s){s!==this.usePhysicalLightFalloff&&(this._markAllSubMeshesAsTexturesDirty(),s?this._lightFalloff=S.LIGHTFALLOFF_PHYSICAL:this._lightFalloff=S.LIGHTFALLOFF_STANDARD)}get useGLTFLightFalloff(){return this._lightFalloff===S.LIGHTFALLOFF_GLTF}set useGLTFLightFalloff(s){s!==this.useGLTFLightFalloff&&(this._markAllSubMeshesAsTexturesDirty(),s?this._lightFalloff=S.LIGHTFALLOFF_GLTF:this._lightFalloff=S.LIGHTFALLOFF_STANDARD)}get backgroundRefractionTexture(){return this._backgroundRefractionTexture}set backgroundRefractionTexture(s){this._backgroundRefractionTexture=s,this._markAllSubMeshesAsTexturesDirty()}get realTimeFiltering(){return this._realTimeFiltering}set realTimeFiltering(s){this._realTimeFiltering=s,this.markAsDirty(1)}get realTimeFilteringQuality(){return this._realTimeFilteringQuality}set realTimeFilteringQuality(s){this._realTimeFilteringQuality=s,this.markAsDirty(1)}get fuzzSampleNumber(){return this._fuzzSampleNumber}set fuzzSampleNumber(s){this._fuzzSampleNumber=s,this.markAsDirty(1)}get canRenderToMRT(){return!0}constructor(s,r,e=!1){super(s,r,void 0,e||t.ForceGLSL),this._baseWeight=new _("base_weight",1,"vBaseWeight",1),this._baseWeightTexture=new c("base_weight","baseWeight","BASE_WEIGHT"),this._baseColor=new _("base_color",d.White(),"vBaseColor",4),this._baseColorTexture=new c("base_color","baseColor","BASE_COLOR"),this._baseDiffuseRoughness=new _("base_diffuse_roughness",0,"vBaseDiffuseRoughness",1),this._baseDiffuseRoughnessTexture=new c("base_diffuse_roughness","baseDiffuseRoughness","BASE_DIFFUSE_ROUGHNESS"),this._baseMetalness=new _("base_metalness",0,"vReflectanceInfo",4,0),this._baseMetalnessTexture=new c("base_metalness","baseMetalness","BASE_METALNESS"),this._specularWeight=new _("specular_weight",1,"vReflectanceInfo",4,3),this._specularWeightTexture=new c("specular_weight","specularWeight","SPECULAR_WEIGHT"),this._specularColor=new _("specular_color",d.White(),"vSpecularColor",4),this._specularColorTexture=new c("specular_color","specularColor","SPECULAR_COLOR"),this._specularRoughness=new _("specular_roughness",.3,"vReflectanceInfo",4,1),this._specularRoughnessTexture=new c("specular_roughness","specularRoughness","SPECULAR_ROUGHNESS"),this._specularRoughnessAnisotropy=new _("specular_roughness_anisotropy",0,"vSpecularAnisotropy",3,2),this._specularRoughnessAnisotropyTexture=new c("specular_roughness_anisotropy","specularRoughnessAnisotropy","SPECULAR_ROUGHNESS_ANISOTROPY"),this._specularIor=new _("specular_ior",1.5,"vReflectanceInfo",4,2),this._transmissionWeight=new _("transmission_weight",0,"vTransmissionWeight",1),this._transmissionWeightTexture=new c("transmission_weight","transmissionWeight","TRANSMISSION_WEIGHT"),this._transmissionColor=new _("transmission_color",d.White(),"vTransmissionColor",3,0),this._transmissionColorTexture=new c("transmission_color","transmissionColor","TRANSMISSION_COLOR"),this._transmissionDepth=new _("transmission_depth",0,"vTransmissionDepth",1,0),this._transmissionDepthTexture=new c("transmission_depth","transmissionDepth","TRANSMISSION_DEPTH"),this._transmissionScatter=new _("transmission_scatter",d.Black(),"vTransmissionScatter",3,0),this._transmissionScatterTexture=new c("transmission_scatter","transmissionScatter","TRANSMISSION_SCATTER"),this._transmissionScatterAnisotropy=new _("transmission_scatter_anisotropy",0,"vTransmissionScatterAnisotropy",1,0),this._transmissionDispersionScale=new _("transmission_dispersion_scale",0,"vTransmissionDispersionScale",1,0),this._transmissionDispersionScaleTexture=new c("transmission_dispersion_scale","transmissionDispersionScale","TRANSMISSION_DISPERSION_SCALE"),this._transmissionDispersionAbbeNumber=new _("transmission_dispersion_abbe_number",20,"vTransmissionDispersionAbbeNumber",1,0),this._coatWeight=new _("coat_weight",0,"vCoatWeight",1,0),this._coatWeightTexture=new c("coat_weight","coatWeight","COAT_WEIGHT"),this._coatColor=new _("coat_color",d.White(),"vCoatColor",3,0),this._coatColorTexture=new c("coat_color","coatColor","COAT_COLOR"),this._coatRoughness=new _("coat_roughness",0,"vCoatRoughness",1,0),this._coatRoughnessTexture=new c("coat_roughness","coatRoughness","COAT_ROUGHNESS"),this._coatRoughnessAnisotropy=new _("coat_roughness_anisotropy",0,"vCoatRoughnessAnisotropy",1),this._coatRoughnessAnisotropyTexture=new c("coat_roughness_anisotropy","coatRoughnessAnisotropy","COAT_ROUGHNESS_ANISOTROPY"),this._coatIor=new _("coat_ior",1.5,"vCoatIor",1,0),this._coatDarkening=new _("coat_darkening",1,"vCoatDarkening",1,0),this._coatDarkeningTexture=new c("coat_darkening","coatDarkening","COAT_DARKENING"),this.useCoatRoughnessFromWeightTexture=!1,this._fuzzWeight=new _("fuzz_weight",0,"vFuzzWeight",1,0),this._fuzzWeightTexture=new c("fuzz_weight","fuzzWeight","FUZZ_WEIGHT"),this._fuzzColor=new _("fuzz_color",d.White(),"vFuzzColor",3,0),this._fuzzColorTexture=new c("fuzz_color","fuzzColor","FUZZ_COLOR"),this._fuzzRoughness=new _("fuzz_roughness",.5,"vFuzzRoughness",1,0),this._fuzzRoughnessTexture=new c("fuzz_roughness","fuzzRoughness","FUZZ_ROUGHNESS"),this._geometryNormalTexture=new c("geometry_normal","geometryNormal","GEOMETRY_NORMAL"),this._geometryTangent=new _("geometry_tangent",new D(1,0),"vSpecularAnisotropy",3,0),this._geometryTangentTexture=new c("geometry_tangent","geometryTangent","GEOMETRY_TANGENT"),this._geometryCoatNormalTexture=new c("geometry_coat_normal","geometryCoatNormal","GEOMETRY_COAT_NORMAL"),this._geometryCoatTangent=new _("geometry_coat_tangent",new D(1,0),"vGeometryCoatTangent",2,0),this._geometryCoatTangentTexture=new c("geometry_coat_tangent","geometryCoatTangent","GEOMETRY_COAT_TANGENT"),this._geometryOpacity=new _("geometry_opacity",1,"vBaseColor",4,3),this._geometryOpacityTexture=new c("geometry_opacity","geometryOpacity","GEOMETRY_OPACITY"),this._geometryThickness=new _("geometry_thickness",0,"vGeometryThickness",1,0),this._geometryThicknessTexture=new c("geometry_thickness","geometryThickness","GEOMETRY_THICKNESS"),this._emissionLuminance=new _("emission_luminance",1,"vLightingIntensity",4,1),this._emissionColor=new _("emission_color",d.Black(),"vEmissionColor",3),this._emissionColorTexture=new c("emission_color","emissionColor","EMISSION_COLOR"),this._thinFilmWeight=new _("thin_film_weight",0,"vThinFilmWeight",1,0),this._thinFilmWeightTexture=new c("thin_film_weight","thinFilmWeight","THIN_FILM_WEIGHT"),this._thinFilmThickness=new _("thin_film_thickness",.5,"vThinFilmThickness",2,0),this._thinFilmThicknessMin=new _("thin_film_thickness_min",0,"vThinFilmThickness",2,1),this._thinFilmThicknessTexture=new c("thin_film_thickness","thinFilmThickness","THIN_FILM_THICKNESS"),this._thinFilmIor=new _("thin_film_ior",1.4,"vThinFilmIor",1,0),this._ambientOcclusionTexture=new c("ambient_occlusion","ambientOcclusion","AMBIENT_OCCLUSION"),this._uniformsList={},this._samplersList={},this._samplerDefines={},this.directIntensity=1,this.environmentIntensity=1,this.useSpecularWeightFromTextureAlpha=!1,this.forceAlphaTest=!1,this.alphaCutOff=.4,this.useAmbientOcclusionFromMetallicTextureRed=!1,this.useAmbientInGrayScale=!1,this.useObjectSpaceNormalMap=!1,this.useParallax=!1,this.useParallaxOcclusion=!1,this.parallaxScaleBias=.05,this.disableLighting=!1,this.forceIrradianceInFragment=!1,this.maxSimultaneousLights=4,this.invertNormalMapX=!1,this.invertNormalMapY=!1,this.twoSidedLighting=!1,this.useAlphaFresnel=!1,this.useLinearAlphaFresnel=!1,this.environmentBRDFTexture=null,this.forceNormalForward=!1,this.enableSpecularAntiAliasing=!1,this.useHorizonOcclusion=!0,this.useRadianceOcclusion=!0,this.unlit=!1,this.applyDecalMapAfterDetailMap=!1,this._lightingInfos=new Y(this.directIntensity,1,this.environmentIntensity,1),this._radianceTexture=null,this._useSpecularWeightFromAlpha=!1,this._useSpecularWeightFromSpecularColorTexture=!1,this._useSpecularRoughnessAnisotropyFromTangentTexture=!1,this._useCoatRoughnessAnisotropyFromTangentTexture=!1,this._useCoatRoughnessFromGreenChannel=!1,this._useGltfStyleAnisotropy=!1,this._useFuzzRoughnessFromTextureAlpha=!1,this._useHorizonOcclusion=!0,this._useRadianceOcclusion=!0,this._useAlphaFromBaseColorTexture=!1,this._useAmbientOcclusionFromMetallicTextureRed=!1,this._useRoughnessFromMetallicTextureGreen=!1,this._useMetallicFromMetallicTextureBlue=!1,this._useThinFilmThicknessFromTextureGreen=!1,this._useGeometryThicknessFromGreenChannel=!1,this._lightFalloff=S.LIGHTFALLOFF_PHYSICAL,this._useObjectSpaceNormalMap=!1,this._useParallax=!1,this._useParallaxOcclusion=!1,this._parallaxScaleBias=.05,this._disableLighting=!1,this._maxSimultaneousLights=4,this._invertNormalMapX=!1,this._invertNormalMapY=!1,this._twoSidedLighting=!1,this._alphaCutOff=.4,this._useAlphaFresnel=!1,this._useLinearAlphaFresnel=!1,this._environmentBRDFTexture=null,this._environmentFuzzBRDFTexture=null,this._backgroundRefractionTexture=null,this._forceIrradianceInFragment=!1,this._realTimeFiltering=!1,this._realTimeFilteringQuality=8,this._fuzzSampleNumber=4,this._forceNormalForward=!1,this._enableSpecularAntiAliasing=!1,this._renderTargets=new Z(16),this._unlit=!1,this._applyDecalMapAfterDetailMap=!1,this._debugMode=0,this._shadersLoaded=!1,this._breakShaderLoadedCheck=!1,this.debugMode=0,this.debugLimit=-1,this.debugFactor=1,this._cacheHasRenderTargetTextures=!1,this._transparencyMode=S.MATERIAL_OPAQUE,this.getScene()&&!this.getScene()?.getEngine().isWebGPU&&this.getScene().getEngine().webGLVersion<2&&F.Error("OpenPBRMaterial: WebGL 2.0 or above is required for this material."),t._noiseTextures[this.getScene().uniqueId]||(t._noiseTextures[this.getScene().uniqueId]=new K(j.GetAssetUrl("https://assets.babylonjs.com/core/blue_noise/blue_noise_rgb.png"),this.getScene(),!1,!0,1),this.getScene().onDisposeObservable.addOnce(()=>{t._noiseTextures[this.getScene().uniqueId]?.dispose(),delete t._noiseTextures[this.getScene().uniqueId]})),this._attachImageProcessingConfiguration(null),this.getRenderTargetTextures=()=>(this._renderTargets.reset(),g.ReflectionTextureEnabled&&this._radianceTexture&&this._radianceTexture.isRenderTarget&&this._renderTargets.push(this._radianceTexture),g.RefractionTextureEnabled&&this._backgroundRefractionTexture&&this._backgroundRefractionTexture.isRenderTarget&&this._renderTargets.push(this._backgroundRefractionTexture),this._eventInfo.renderTargets=this._renderTargets,this._callbackPluginEventFillRenderTargetTextures(this._eventInfo),this._renderTargets),this._environmentBRDFTexture=Fe(this.getScene()),this._environmentFuzzBRDFTexture=w(this.getScene()),this.prePassConfiguration=new H,this._propertyList={};for(const l of Object.getOwnPropertyNames(this)){const u=this[l];u instanceof _&&(this._propertyList[l]=u)}Object.keys(this._propertyList).forEach(l=>{const u=this._propertyList[l];let T=this._uniformsList[u.targetUniformName];T?T.numComponents!==u.targetUniformComponentNum&&F.Error(`Uniform ${u.targetUniformName} already exists of size ${T.numComponents}, but trying to set it to ${u.targetUniformComponentNum}.`):(T=new C(u.targetUniformName,u.targetUniformComponentNum),this._uniformsList[u.targetUniformName]=T),T.linkedProperties[u.name]=u}),this._samplersList={};for(const l of Object.getOwnPropertyNames(this)){const u=this[l];u instanceof c&&(this._samplersList[l]=u)}for(const l in this._samplersList){const T=this._samplersList[l].textureDefine;this._samplerDefines[T]={type:"boolean",default:!1},this._samplerDefines[T+"DIRECTUV"]={type:"number",default:0},this._samplerDefines[T+"_GAMMA"]={type:"boolean",default:!1}}this._baseWeight,this._baseWeightTexture,this._baseColor,this._baseColorTexture,this._baseDiffuseRoughness,this._baseDiffuseRoughnessTexture,this._baseMetalness,this._baseMetalnessTexture,this._specularWeight,this._specularWeightTexture,this._specularColor,this._specularColorTexture,this._specularRoughness,this._specularIor,this._specularRoughnessTexture,this._specularRoughnessAnisotropy,this._specularRoughnessAnisotropyTexture,this._transmissionWeight,this._transmissionWeightTexture,this._transmissionColor,this._transmissionColorTexture,this._transmissionDepth,this._transmissionDepthTexture,this._transmissionScatter,this._transmissionScatterTexture,this._transmissionScatterAnisotropy,this._transmissionDispersionScale,this._transmissionDispersionScaleTexture,this._transmissionDispersionAbbeNumber,this._coatWeight,this._coatWeightTexture,this._coatColor,this._coatColorTexture,this._coatRoughness,this._coatRoughnessTexture,this._coatRoughnessAnisotropy,this._coatRoughnessAnisotropyTexture,this._coatIor,this._coatDarkening,this._coatDarkeningTexture,this._fuzzWeight,this._fuzzWeightTexture,this._fuzzColor,this._fuzzColorTexture,this._fuzzRoughness,this._fuzzRoughnessTexture,this._geometryNormalTexture,this._geometryTangent,this._geometryTangentTexture,this._geometryCoatNormalTexture,this._geometryCoatTangent,this._geometryCoatTangentTexture,this._geometryOpacity,this._geometryOpacityTexture,this._geometryThickness,this._geometryThicknessTexture,this._thinFilmWeight,this._thinFilmWeightTexture,this._thinFilmThickness,this._thinFilmThicknessMin,this._thinFilmThicknessTexture,this._thinFilmIor,this._emissionLuminance,this._emissionColor,this._emissionColorTexture,this._ambientOcclusionTexture}get hasRenderTargetTextures(){return g.ReflectionTextureEnabled&&this._radianceTexture&&this._radianceTexture.isRenderTarget||g.RefractionTextureEnabled&&this._backgroundRefractionTexture&&this._backgroundRefractionTexture.isRenderTarget?!0:this._cacheHasRenderTargetTextures}get isPrePassCapable(){return!this.disableDepthWrite}getClassName(){return"OpenPBRMaterial"}get transparencyMode(){return this._transparencyMode}set transparencyMode(s){this._transparencyMode!==s&&(this._transparencyMode=s,this._markAllSubMeshesAsTexturesAndMiscDirty())}_shouldUseAlphaFromBaseColorTexture(){return this._hasAlphaChannel()&&this._transparencyMode!==S.MATERIAL_OPAQUE&&!this.geometryOpacityTexture}_hasAlphaChannel(){return this.baseColorTexture!=null&&this.baseColorTexture.hasAlpha&&this._useAlphaFromBaseColorTexture||this.geometryOpacityTexture!=null}clone(s,r=!0,e=""){const o=z.Clone(()=>new t(s,this.getScene()),this,{cloneTexturesOnlyOnce:r});return o.id=s,o.name=s,this.stencil.copyTo(o.stencil),this._clonePlugins(o,e),o}serialize(){const s=super.serialize();return s.customType="BABYLON.OpenPBRMaterial",s}static Parse(s,r,e){const o=z.Parse(()=>new t(s.name,r),s,r,e);return s.stencil&&o.stencil.parse(s.stencil,r,e),S._ParsePlugins(s,o,r,e),o}forceCompilation(s,r,e){const o={clipPlane:!1,useInstances:!1,...e};this._uniformBufferLayoutBuilt||this.buildUniformLayout(),this._callbackPluginEventGeneric(4,this._eventInfo),(()=>{if(this._breakShaderLoadedCheck)return;const u=new V({...this._eventInfo.defineNames||{},...this._samplerDefines||{}}),T=this._prepareEffect(s,s,u,void 0,void 0,o.useInstances,o.clipPlane);this._onEffectCreatedObservable&&(x.effect=T,x.subMesh=null,this._onEffectCreatedObservable.notifyObservers(x)),T.isReady()?r&&r(this):T.onCompileObservable.add(()=>{r&&r(this)})})()}isReadyForSubMesh(s,r,e){this._uniformBufferLayoutBuilt||this.buildUniformLayout();const o=r._drawWrapper;if(o.effect&&this.isFrozen&&o._wasPreviouslyReady&&o._wasPreviouslyUsingInstances===e)return!0;r.materialDefines||(this._callbackPluginEventGeneric(4,this._eventInfo),r.materialDefines=new V({...this._eventInfo.defineNames||{},...this._samplerDefines||{}}));const l=r.materialDefines;if(this._isReadyForSubMesh(r))return!0;const u=this.getScene(),T=u.getEngine();if(l._areTexturesDirty&&(this._eventInfo.hasRenderTargetTextures=!1,this._callbackPluginEventHasRenderTargetTextures(this._eventInfo),this._cacheHasRenderTargetTextures=this._eventInfo.hasRenderTargetTextures,u.texturesEnabled)){for(const p in this._samplersList){const E=this._samplersList[p];if(E.value&&!E.value.isReadyOrNotBlocking())return!1}const h=this._getRadianceTexture();if(h&&g.ReflectionTextureEnabled){if(!h.isReadyOrNotBlocking())return!1;if(h.irradianceTexture){if(!h.irradianceTexture.isReadyOrNotBlocking())return!1}else if(!h.sphericalPolynomial&&h.getInternalTexture()?._sphericalPolynomialPromise)return!1}if(this._environmentBRDFTexture&&g.ReflectionTextureEnabled&&!this._environmentBRDFTexture.isReady()||this._environmentFuzzBRDFTexture&&g.ReflectionTextureEnabled&&!this._environmentFuzzBRDFTexture.isReady()||this._backgroundRefractionTexture&&g.RefractionTextureEnabled&&!this._backgroundRefractionTexture.isReadyOrNotBlocking()||t._noiseTextures[u.uniqueId]&&!t._noiseTextures[u.uniqueId].isReady())return!1}if(this._eventInfo.isReadyForSubMesh=!0,this._eventInfo.defines=l,this._eventInfo.subMesh=r,this._callbackPluginEventIsReadyForSubMesh(this._eventInfo),!this._eventInfo.isReadyForSubMesh||l._areImageProcessingDirty&&this._imageProcessingConfiguration&&!this._imageProcessingConfiguration.isReady())return!1;if(l.AREALIGHTUSED){for(let h=0;h<s.lightSources.length;h++)if(!s.lightSources[h]._isReady())return!1}!T.getCaps().standardDerivatives&&!s.isVerticesDataPresent(N.NormalKind)&&(s.createNormals(!0),F.Warn("OpenPBRMaterial: Normals have been created for the mesh: "+s.name));const L=r.effect,O=l._areLightsDisposed,n=this._prepareEffect(s,r.getRenderingMesh(),l,this.onCompiled,this.onError,e,null);let m=!1;if(n)if(this._onEffectCreatedObservable&&(x.effect=n,x.subMesh=r,this._onEffectCreatedObservable.notifyObservers(x)),this.allowShaderHotSwapping&&L&&!n.isReady()){if(l.markAsUnprocessed(),m=this.isFrozen,O)return l._areLightsDisposed=!0,!1}else u.resetCachedMaterial(),r.setEffect(n,l,this._materialContext);return!r.effect||!r.effect.isReady()?!1:(l._renderId=u.getRenderId(),o._wasPreviouslyReady=!m,o._wasPreviouslyUsingInstances=!!e,this._checkScenePerformancePriority(),!0)}buildUniformLayout(){const s=this._uniformBuffer;s.addUniform("vTangentSpaceParams",2),s.addUniform("vLightingIntensity",4),s.addUniform("pointSize",1),s.addUniform("vDebugMode",2),s.addUniform("cameraInfo",4),s.addUniform("backgroundRefractionMatrix",16),s.addUniform("vBackgroundRefractionInfos",3),Q(s,!0,!0,!0,!0,!0),Object.values(this._uniformsList).forEach(r=>{s.addUniform(r.name,r.numComponents)}),Object.values(this._samplersList).forEach(r=>{s.addUniform(r.samplerInfoName,2),s.addUniform(r.samplerMatrixName,16)}),super.buildUniformLayout()}bindPropertiesForSubMesh(s,r,e,o){if(this.geometryThickness===0)s.updateFloat("vGeometryThickness",0);else{o.getRenderingMesh().getWorldMatrix().decompose(I.Vector3[0]);const l=Math.max(Math.abs(I.Vector3[0].x),Math.abs(I.Vector3[0].y),Math.abs(I.Vector3[0].z));s.updateFloat("vGeometryThickness",this.geometryThickness*l)}}bindForSubMesh(s,r,e){const o=this.getScene(),l=e.materialDefines;if(!l)return;const u=e.effect;if(!u)return;this._activeEffect=u,r.getMeshUniformBuffer().bindToEffect(u,"Mesh"),r.transferToEffect(s);const T=o.getEngine();this._uniformBuffer.bindToEffect(u,"Material"),this.prePassConfiguration.bindForSubMesh(this._activeEffect,o,r,s,this.isFrozen),k.Bind(T.currentRenderPassId,this._activeEffect,r,s,this);const L=o.activeCamera;L?this._uniformBuffer.updateFloat4("cameraInfo",L.minZ,L.maxZ,0,0):this._uniformBuffer.updateFloat4("cameraInfo",0,0,0,0),this._eventInfo.subMesh=e,this._callbackPluginEventHardBindForSubMesh(this._eventInfo),this.bindPropertiesForSubMesh(this._uniformBuffer,o,o.getEngine(),e),l.OBJECTSPACE_NORMALMAP&&(s.toNormalMatrix(this._normalMatrix),this.bindOnlyNormalMatrix(this._normalMatrix));const O=this._mustRebind(o,u,e,r.visibility);q(r,this._activeEffect,this.prePassConfiguration);const n=this._uniformBuffer;if(O){this.bindViewProjection(u);const m=this._getRadianceTexture();if(!n.useUbo||!this.isFrozen||!n.isSync||e._drawWrapper._forceRebindOnNextCall){if(o.texturesEnabled){for(const h in this._samplersList){const p=this._samplersList[h];p.value&&(n.updateFloat2(p.samplerInfoName,p.value.coordinatesIndex,p.value.level),$(p.value,n,p.samplerPrefix))}this.geometryNormalTexture&&(o._mirroredCameraPosition?n.updateFloat2("vTangentSpaceParams",this._invertNormalMapX?1:-1,this._invertNormalMapY?1:-1):n.updateFloat2("vTangentSpaceParams",this._invertNormalMapX?-1:1,this._invertNormalMapY?-1:1)),J(o,l,n,d.White(),m,this.realTimeFiltering,!0,!0,!0,!0,!0)}this.pointsCloud&&n.updateFloat("pointSize",this.pointSize),Object.values(this._uniformsList).forEach(h=>{h.numComponents===4?(h.populateVectorFromLinkedProperties(I.Vector4[0]),n.updateVector4(h.name,I.Vector4[0])):h.numComponents===3?(h.populateVectorFromLinkedProperties(I.Vector3[0]),n.updateVector3(h.name,I.Vector3[0])):h.numComponents===2?(h.populateVectorFromLinkedProperties(I.Vector2[0]),n.updateFloat2(h.name,I.Vector2[0].x,I.Vector2[0].y)):h.numComponents===1&&n.updateFloat(h.name,h.linkedProperties[Object.keys(h.linkedProperties)[0]].value)}),this._lightingInfos.x=this.directIntensity,this._lightingInfos.y=this.emissionLuminance,this._lightingInfos.z=this.environmentIntensity*o.environmentIntensity,this._lightingInfos.w=1,n.updateVector4("vLightingIntensity",this._lightingInfos),n.updateFloat2("vDebugMode",this.debugLimit,this.debugFactor)}if(o.texturesEnabled){for(const h in this._samplersList){const p=this._samplersList[h];p.value&&n.setTexture(p.samplerName,p.value)}ee(o,l,n,m,this.realTimeFiltering),l.ENVIRONMENTBRDF&&n.setTexture("environmentBrdfSampler",this._environmentBRDFTexture),l.FUZZENVIRONMENTBRDF&&n.setTexture("environmentFuzzBrdfSampler",this._environmentFuzzBRDFTexture),l.REFRACTED_BACKGROUND&&(n.setTexture("backgroundRefractionSampler",this._backgroundRefractionTexture),n.updateMatrix("backgroundRefractionMatrix",this._backgroundRefractionTexture.getReflectionTextureMatrix()),I.Vector3[1].set(Math.log2(this._backgroundRefractionTexture.getSize().width),0,0),n.updateVector3("vBackgroundRefractionInfos",I.Vector3[1])),(l.ANISOTROPIC||l.FUZZ||l.REFRACTED_BACKGROUND)&&n.setTexture("blueNoiseSampler",t._noiseTextures[this.getScene().uniqueId])}this.getScene().useOrderIndependentTransparency&&this.needAlphaBlendingForMesh(r)&&this.getScene().depthPeelingRenderer.bind(u),this._eventInfo.subMesh=e,this._callbackPluginEventBindForSubMesh(this._eventInfo),te(this._activeEffect,this,o),this.bindEyePosition(u)}else o.getEngine()._features.needToAlwaysBindUniformBuffers&&(this._needToBindSceneUbo=!0);(O||!this.isFrozen)&&(o.lightsEnabled&&!this._disableLighting&&se(o,r,this._activeEffect,l,this._maxSimultaneousLights),this.bindView(u),ie(o,r,this._activeEffect,!0),l.NUM_MORPH_INFLUENCERS&&re(r,this._activeEffect),l.BAKED_VERTEX_ANIMATION_TEXTURE&&r.bakedVertexAnimationManager?.bind(u,l.INSTANCES),this._imageProcessingConfiguration.bind(this._activeEffect),ae(l,this._activeEffect,o)),this._afterBind(r,this._activeEffect,e),n.update()}getAnimatables(){const s=super.getAnimatables();for(const r in this._samplersList){const e=this._samplersList[r];e.value&&e.value.animations&&e.value.animations.length>0&&s.push(e.value)}return this._radianceTexture&&this._radianceTexture.animations&&this._radianceTexture.animations.length>0&&s.push(this._radianceTexture),s}getActiveTextures(){const s=super.getActiveTextures();for(const r in this._samplersList){const e=this._samplersList[r];e.value&&s.push(e.value)}return this._radianceTexture&&s.push(this._radianceTexture),s}hasTexture(s){if(super.hasTexture(s))return!0;for(const r in this._samplersList)if(this._samplersList[r].value===s)return!0;return this._radianceTexture===s}setPrePassRenderer(){return!1}dispose(s,r){if(this._breakShaderLoadedCheck=!0,r){this._environmentBRDFTexture&&this.getScene().environmentBRDFTexture!==this._environmentBRDFTexture&&this._environmentBRDFTexture.dispose(),this._environmentFuzzBRDFTexture&&this.getScene().environmentFuzzBRDFTexture!==this._environmentFuzzBRDFTexture&&this._environmentFuzzBRDFTexture.dispose(),this._backgroundRefractionTexture=null;for(const e in this._samplersList)this._samplersList[e].value?.dispose();this._radianceTexture?.dispose()}this._renderTargets.dispose(),this._imageProcessingConfiguration&&this._imageProcessingObserver&&this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver),super.dispose(s,r)}_getRadianceTexture(){return this._radianceTexture?this._radianceTexture:this.getScene().environmentTexture}_prepareEffect(s,r,e,o=null,l=null,u=null,T=null){if(this._prepareDefines(s,r,e,u,T),!e.isDirty)return null;e.markAsProcessed();const O=this.getScene().getEngine(),n=new oe;let m=0;e.USESPHERICALINVERTEX&&n.addFallback(m++,"USESPHERICALINVERTEX"),e.FOG&&n.addFallback(m,"FOG"),e.SPECULARAA&&n.addFallback(m,"SPECULARAA"),e.POINTSIZE&&n.addFallback(m,"POINTSIZE"),e.LOGARITHMICDEPTH&&n.addFallback(m,"LOGARITHMICDEPTH"),e.PARALLAX&&n.addFallback(m,"PARALLAX"),e.PARALLAX_RHS&&n.addFallback(m,"PARALLAX_RHS"),e.PARALLAXOCCLUSION&&n.addFallback(m++,"PARALLAXOCCLUSION"),e.ENVIRONMENTBRDF&&n.addFallback(m++,"ENVIRONMENTBRDF"),e.TANGENT&&n.addFallback(m++,"TANGENT"),m=ne(e,n,this._maxSimultaneousLights,m),e.SPECULARTERM&&n.addFallback(m++,"SPECULARTERM"),e.USESPHERICALFROMREFLECTIONMAP&&n.addFallback(m++,"USESPHERICALFROMREFLECTIONMAP"),e.USEIRRADIANCEMAP&&n.addFallback(m++,"USEIRRADIANCEMAP"),e.NORMAL&&n.addFallback(m++,"NORMAL"),e.VERTEXCOLOR&&n.addFallback(m++,"VERTEXCOLOR"),e.MORPHTARGETS&&n.addFallback(m++,"MORPHTARGETS"),e.MULTIVIEW&&n.addFallback(0,"MULTIVIEW");const h=[N.PositionKind];e.NORMAL&&h.push(N.NormalKind),e.TANGENT&&h.push(N.TangentKind);for(let R=1;R<=6;++R)e["UV"+R]&&h.push(`uv${R===1?"":R}`);e.VERTEXCOLOR&&h.push(N.ColorKind),le(h,s,e,n),he(h,e),ue(h,s,e),_e(h,s,e);let p="openpbr";const E=["world","view","viewProjection","vEyePosition","vLightsType","visibility","vFogInfos","vFogColor","pointSize","mBones","normalMatrix","vLightingIntensity","logarithmicDepthConstant","vTangentSpaceParams","boneTextureWidth","vDebugMode","morphTargetTextureInfo","morphTargetTextureIndices","cameraInfo","backgroundRefractionMatrix","vBackgroundRefractionInfos"];for(const R in this._uniformsList)E.push(R);const y=["environmentBrdfSampler","boneSampler","morphTargets","oitDepthSampler","oitFrontColorSampler","areaLightsLTC1Sampler","areaLightsLTC2Sampler"];e.FUZZENVIRONMENTBRDF&&y.push("environmentFuzzBrdfSampler"),e.REFRACTED_BACKGROUND&&y.push("backgroundRefractionSampler"),(e.ANISOTROPIC||e.FUZZ||e.REFRACTED_BACKGROUND)&&y.push("blueNoiseSampler");for(const R in this._samplersList){const v=this._samplersList[R];y.push(v.samplerName),E.push(v.samplerInfoName),E.push(v.samplerMatrixName)}Te(E,y,!0);const P=["Material","Scene","Mesh"],B={maxSimultaneousLights:this._maxSimultaneousLights,maxSimultaneousMorphTargets:e.NUM_MORPH_INFLUENCERS};this._eventInfo.fallbacks=n,this._eventInfo.fallbackRank=m,this._eventInfo.defines=e,this._eventInfo.uniforms=E,this._eventInfo.attributes=h,this._eventInfo.samplers=y,this._eventInfo.uniformBuffersNames=P,this._eventInfo.customCode=void 0,this._eventInfo.mesh=s,this._eventInfo.indexParameters=B,this._callbackPluginEventGeneric(128,this._eventInfo),k.AddUniformsAndSamplers(E,y),H.AddUniforms(E),ce(E),U&&(U.PrepareUniforms(E,e),U.PrepareSamplers(y,e)),Ae({uniformsNames:E,uniformBuffersNames:P,samplers:y,defines:e,maxSimultaneousLights:this._maxSimultaneousLights});const G={};this.customShaderNameResolve&&(p=this.customShaderNameResolve(p,E,P,y,e,h,G));const W=e.toString(),X=O.createEffect(p,{attributes:h,uniformsNames:E,uniformBuffersNames:P,samplers:y,defines:W,fallbacks:n,onCompiled:o,onError:l,indexParameters:B,processFinalCode:G.processFinalCode,processCodeAfterIncludes:this._eventInfo.customCode,multiTarget:e.PREPASS,shaderLanguage:this._shaderLanguage,extraInitializationsAsync:this._shadersLoaded?void 0:async()=>{this.shaderLanguage===1?await Promise.all([b(()=>import("./babylon-core-PuGyjHMj.js").then(R=>R.rZ),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152]),import.meta.url),b(()=>import("./babylon-core-PuGyjHMj.js").then(R=>R.rX),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152]),import.meta.url)]):await Promise.all([b(()=>import("./babylon-core-PuGyjHMj.js").then(R=>R.r_),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152]),import.meta.url),b(()=>import("./babylon-core-PuGyjHMj.js").then(R=>R.rY),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152]),import.meta.url)]),this._shadersLoaded=!0}},O);return this._eventInfo.customCode=void 0,X}_prepareDefines(s,r,e,o=null,l=null){const u=r.hasThinInstances,T=this.getScene(),L=T.getEngine();me(T,s,e,!0,this._maxSimultaneousLights,this._disableLighting),e._needNormals=!0,fe(T,e);const O=this.needAlphaBlendingForMesh(s)&&this.getScene().useOrderIndependentTransparency;if(pe(T,e,this.canRenderToMRT&&!O),Re(T,e,O),k.PrepareDefines(L.currentRenderPassId,s,e),e._areTexturesDirty){e._needUVs=!1;for(let n=1;n<=6;++n)e["MAINUV"+n]=!1;if(T.texturesEnabled){for(const h in this._samplersList){const p=this._samplersList[h];p.value?(Ee(p.value,e,p.textureDefine),e[p.textureDefine+"_GAMMA"]=p.value.gammaSpace):e[p.textureDefine]=!1}const n=this._getRadianceTexture(),m=this._forceIrradianceInFragment||this.realTimeFiltering||this._twoSidedLighting||L.getCaps().maxVaryingVectors<=8||this._baseDiffuseRoughnessTexture!=null;if(ge(T,n,e,this.realTimeFiltering,this.realTimeFilteringQuality,!m),this._baseMetalnessTexture&&(e.AOSTOREINMETALMAPRED=this._useAmbientOcclusionFromMetallicTextureRed),e.SPECULAR_WEIGHT_IN_ALPHA=this._useSpecularWeightFromAlpha,e.SPECULAR_WEIGHT_FROM_SPECULAR_COLOR_TEXTURE=this._useSpecularWeightFromSpecularColorTexture,e.SPECULAR_ROUGHNESS_ANISOTROPY_FROM_TANGENT_TEXTURE=this._useSpecularRoughnessAnisotropyFromTangentTexture,e.COAT_ROUGHNESS_ANISOTROPY_FROM_TANGENT_TEXTURE=this._useCoatRoughnessAnisotropyFromTangentTexture,e.COAT_ROUGHNESS_FROM_GREEN_CHANNEL=this._useCoatRoughnessFromGreenChannel,e.SPECULAR_ROUGHNESS_FROM_METALNESS_TEXTURE_GREEN=this._useRoughnessFromMetallicTextureGreen,e.FUZZ_ROUGHNESS_FROM_TEXTURE_ALPHA=this._useFuzzRoughnessFromTextureAlpha,e.BASE_METALNESS_FROM_METALNESS_TEXTURE_BLUE=this._useMetallicFromMetallicTextureBlue,e.THIN_FILM_THICKNESS_FROM_THIN_FILM_TEXTURE=this._useThinFilmThicknessFromTextureGreen,e.GEOMETRY_THICKNESS_FROM_GREEN_CHANNEL=this._useGeometryThicknessFromGreenChannel,this.geometryNormalTexture?(this._useParallax&&this.baseColorTexture&&g.DiffuseTextureEnabled?(e.PARALLAX=!0,e.PARALLAX_RHS=T.useRightHandedSystem,e.PARALLAXOCCLUSION=!!this._useParallaxOcclusion):e.PARALLAX=!1,e.OBJECTSPACE_NORMALMAP=this._useObjectSpaceNormalMap):(e.PARALLAX=!1,e.PARALLAX_RHS=!1,e.PARALLAXOCCLUSION=!1,e.OBJECTSPACE_NORMALMAP=!1),this._environmentBRDFTexture&&g.ReflectionTextureEnabled?(e.ENVIRONMENTBRDF=!0,e.ENVIRONMENTBRDF_RGBD=this._environmentBRDFTexture.isRGBD):(e.ENVIRONMENTBRDF=!1,e.ENVIRONMENTBRDF_RGBD=!1),this._environmentFuzzBRDFTexture?e.FUZZENVIRONMENTBRDF=!0:e.FUZZENVIRONMENTBRDF=!1,this.transmissionWeight>0){e.REFRACTED_BACKGROUND=!!this._backgroundRefractionTexture&&g.RefractionTextureEnabled,e.REFRACTED_LIGHTS=!0;const h=this._getRadianceTexture();h?(e.REFRACTED_ENVIRONMENT=g.RefractionTextureEnabled,e.REFRACTED_ENVIRONMENT_OPPOSITEZ=this.getScene().useRightHandedSystem?!h.invertZ:h.invertZ,e.REFRACTED_ENVIRONMENT_LOCAL_CUBE=h.isCube&&h.boundingBoxSize):e.REFRACTED_ENVIRONMENT=!1}else e.REFRACTED_BACKGROUND=!1,e.REFRACTED_LIGHTS=!1,e.REFRACTED_ENVIRONMENT=!1;this._shouldUseAlphaFromBaseColorTexture()?e.ALPHA_FROM_BASE_COLOR_TEXTURE=!0:e.ALPHA_FROM_BASE_COLOR_TEXTURE=!1}this._lightFalloff===S.LIGHTFALLOFF_STANDARD?(e.USEPHYSICALLIGHTFALLOFF=!1,e.USEGLTFLIGHTFALLOFF=!1):this._lightFalloff===S.LIGHTFALLOFF_GLTF?(e.USEPHYSICALLIGHTFALLOFF=!1,e.USEGLTFLIGHTFALLOFF=!0):(e.USEPHYSICALLIGHTFALLOFF=!0,e.USEGLTFLIGHTFALLOFF=!1),!this.backFaceCulling&&this._twoSidedLighting?e.TWOSIDEDLIGHTING=!0:e.TWOSIDEDLIGHTING=!1,e.MIRRORED=!!T._mirroredCameraPosition,e.SPECULARAA=L.getCaps().standardDerivatives&&this._enableSpecularAntiAliasing}(e._areTexturesDirty||e._areMiscDirty)&&(e.ALPHATESTVALUE=`${this._alphaCutOff}${this._alphaCutOff%1===0?".":""}`,e.PREMULTIPLYALPHA=this.alphaMode===7||this.alphaMode===8,e.ALPHABLEND=this.needAlphaBlendingForMesh(s)),e._areImageProcessingDirty&&this._imageProcessingConfiguration&&this._imageProcessingConfiguration.prepareDefines(e),e.FORCENORMALFORWARD=this._forceNormalForward,e.RADIANCEOCCLUSION=this._useRadianceOcclusion,e.HORIZONOCCLUSION=this._useHorizonOcclusion,(this.specularRoughnessAnisotropy>0||this.coatRoughnessAnisotropy>0)&&t._noiseTextures[T.uniqueId]&&g.ReflectionTextureEnabled?(e.ANISOTROPIC=!0,s.isVerticesDataPresent(N.TangentKind)||(e._needUVs=!0,e.MAINUV1=!0),this._useGltfStyleAnisotropy&&(e.USE_GLTF_STYLE_ANISOTROPY=!0),e.ANISOTROPIC_BASE=this.specularRoughnessAnisotropy>0,e.ANISOTROPIC_COAT=this.coatRoughnessAnisotropy>0):(e.ANISOTROPIC=!1,e.USE_GLTF_STYLE_ANISOTROPY=!1,e.ANISOTROPIC_BASE=!1,e.ANISOTROPIC_COAT=!1),e.THIN_FILM=this.thinFilmWeight>0,e.IRIDESCENCE=this.thinFilmWeight>0,e.DISPERSION=this.transmissionDispersionScale>0,e.SCATTERING=!this.transmissionScatter.equals(d.BlackReadOnly),e.FUZZ=this.fuzzWeight>0&&g.ReflectionTextureEnabled,e.FUZZ?(s.isVerticesDataPresent(N.TangentKind)||(e._needUVs=!0,e.MAINUV1=!0),this._environmentFuzzBRDFTexture=w(this.getScene()),e.FUZZ_IBL_SAMPLES=this.fuzzSampleNumber):(this._environmentFuzzBRDFTexture=null,e.FUZZENVIRONMENTBRDF=!1,e.FUZZ_IBL_SAMPLES=0),e._areMiscDirty&&(Se(s,T,this._useLogarithmicDepth,this.pointsCloud,this.fogEnabled,this.needAlphaTestingForMesh(s),e,this._applyDecalMapAfterDetailMap,this._useVertexPulling,r,this._isVertexOutputInvariant),e.UNLIT=this._unlit||(this.pointsCloud||this.wireframe)&&!s.isVerticesDataPresent(N.NormalKind),e.DEBUGMODE=this._debugMode),Ie(T,L,this,e,!!o,l,u),this._eventInfo.defines=e,this._eventInfo.mesh=s,this._callbackPluginEventPrepareDefinesBeforeAttributes(this._eventInfo),Le(s,e,!0,!0,!0,this._transparencyMode!==S.MATERIAL_OPAQUE),this._callbackPluginEventPrepareDefines(this._eventInfo)}}t._noiseTextures={};t.ForceGLSL=!1;i([a("_markAllSubMeshesAsTexturesDirty","baseWeight")],t.prototype,"_baseWeight",void 0);i([a("_markAllSubMeshesAsTexturesDirty","baseWeightTexture")],t.prototype,"_baseWeightTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","baseColor")],t.prototype,"_baseColor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","baseColorTexture")],t.prototype,"_baseColorTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","baseDiffuseRoughness")],t.prototype,"_baseDiffuseRoughness",void 0);i([a("_markAllSubMeshesAsTexturesDirty","baseDiffuseRoughnessTexture")],t.prototype,"_baseDiffuseRoughnessTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","baseMetalness")],t.prototype,"_baseMetalness",void 0);i([a("_markAllSubMeshesAsTexturesDirty","baseMetalnessTexture")],t.prototype,"_baseMetalnessTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularWeight")],t.prototype,"_specularWeight",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularWeightTexture")],t.prototype,"_specularWeightTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularColor")],t.prototype,"_specularColor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularColorTexture")],t.prototype,"_specularColorTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularRoughness")],t.prototype,"_specularRoughness",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularRoughnessTexture")],t.prototype,"_specularRoughnessTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularRoughnessAnisotropy")],t.prototype,"_specularRoughnessAnisotropy",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularRoughnessAnisotropyTexture")],t.prototype,"_specularRoughnessAnisotropyTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","specularIor")],t.prototype,"_specularIor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionWeight")],t.prototype,"_transmissionWeight",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionWeightTexture")],t.prototype,"_transmissionWeightTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionColor")],t.prototype,"_transmissionColor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionColorTexture")],t.prototype,"_transmissionColorTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionDepth")],t.prototype,"_transmissionDepth",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionDepthTexture")],t.prototype,"_transmissionDepthTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionScatter")],t.prototype,"_transmissionScatter",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionScatterTexture")],t.prototype,"_transmissionScatterTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionScatterAnisotropy")],t.prototype,"_transmissionScatterAnisotropy",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionDispersionScale")],t.prototype,"_transmissionDispersionScale",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionDispersionScaleTexture")],t.prototype,"_transmissionDispersionScaleTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","transmissionDispersionAbbeNumber")],t.prototype,"_transmissionDispersionAbbeNumber",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatWeight")],t.prototype,"_coatWeight",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatWeightTexture")],t.prototype,"_coatWeightTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatColor")],t.prototype,"_coatColor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatColorTexture")],t.prototype,"_coatColorTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatRoughness")],t.prototype,"_coatRoughness",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatRoughnessTexture")],t.prototype,"_coatRoughnessTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatRoughnessAnisotropy")],t.prototype,"_coatRoughnessAnisotropy",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatRoughnessAnisotropyTexture")],t.prototype,"_coatRoughnessAnisotropyTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatIor")],t.prototype,"_coatIor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatDarkening")],t.prototype,"_coatDarkening",void 0);i([a("_markAllSubMeshesAsTexturesDirty","coatDarkeningTexture")],t.prototype,"_coatDarkeningTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","fuzzWeight")],t.prototype,"_fuzzWeight",void 0);i([a("_markAllSubMeshesAsTexturesDirty","fuzzWeightTexture")],t.prototype,"_fuzzWeightTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","fuzzColor")],t.prototype,"_fuzzColor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","fuzzColorTexture")],t.prototype,"_fuzzColorTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","fuzzRoughness")],t.prototype,"_fuzzRoughness",void 0);i([a("_markAllSubMeshesAsTexturesDirty","fuzzRoughnessTexture")],t.prototype,"_fuzzRoughnessTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryNormalTexture")],t.prototype,"_geometryNormalTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryTangent")],t.prototype,"_geometryTangent",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryTangentTexture")],t.prototype,"_geometryTangentTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryCoatNormalTexture")],t.prototype,"_geometryCoatNormalTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryCoatTangent")],t.prototype,"_geometryCoatTangent",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryCoatTangentTexture")],t.prototype,"_geometryCoatTangentTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryOpacity")],t.prototype,"_geometryOpacity",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryOpacityTexture")],t.prototype,"_geometryOpacityTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryThickness")],t.prototype,"_geometryThickness",void 0);i([a("_markAllSubMeshesAsTexturesDirty","geometryThicknessTexture")],t.prototype,"_geometryThicknessTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","emissionLuminance")],t.prototype,"_emissionLuminance",void 0);i([a("_markAllSubMeshesAsTexturesDirty","emissionColor")],t.prototype,"_emissionColor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","emissionColorTexture")],t.prototype,"_emissionColorTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","thinFilmWeight")],t.prototype,"_thinFilmWeight",void 0);i([a("_markAllSubMeshesAsTexturesDirty","thinFilmWeightTexture")],t.prototype,"_thinFilmWeightTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","thinFilmThickness")],t.prototype,"_thinFilmThickness",void 0);i([a("_markAllSubMeshesAsTexturesDirty","thinFilmThicknessMin")],t.prototype,"_thinFilmThicknessMin",void 0);i([a("_markAllSubMeshesAsTexturesDirty","thinFilmThicknessTexture")],t.prototype,"_thinFilmThicknessTexture",void 0);i([a("_markAllSubMeshesAsTexturesDirty","thinFilmIor")],t.prototype,"_thinFilmIor",void 0);i([a("_markAllSubMeshesAsTexturesDirty","ambientOcclusionTexture")],t.prototype,"_ambientOcclusionTexture",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"directIntensity",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"environmentIntensity",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useSpecularWeightFromTextureAlpha",void 0);i([A(),f("_markAllSubMeshesAsTexturesAndMiscDirty")],t.prototype,"forceAlphaTest",void 0);i([A(),f("_markAllSubMeshesAsTexturesAndMiscDirty")],t.prototype,"alphaCutOff",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useAmbientOcclusionFromMetallicTextureRed",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useAmbientInGrayScale",void 0);i([A()],t.prototype,"usePhysicalLightFalloff",null);i([A()],t.prototype,"useGLTFLightFalloff",null);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useObjectSpaceNormalMap",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useParallax",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useParallaxOcclusion",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"parallaxScaleBias",void 0);i([A(),f("_markAllSubMeshesAsLightsDirty")],t.prototype,"disableLighting",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"forceIrradianceInFragment",void 0);i([A(),f("_markAllSubMeshesAsLightsDirty")],t.prototype,"maxSimultaneousLights",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"invertNormalMapX",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"invertNormalMapY",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"twoSidedLighting",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useAlphaFresnel",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useLinearAlphaFresnel",void 0);i([f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"environmentBRDFTexture",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"forceNormalForward",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"enableSpecularAntiAliasing",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useHorizonOcclusion",void 0);i([A(),f("_markAllSubMeshesAsTexturesDirty")],t.prototype,"useRadianceOcclusion",void 0);i([A(),f("_markAllSubMeshesAsMiscDirty")],t.prototype,"unlit",void 0);i([A(),f("_markAllSubMeshesAsMiscDirty")],t.prototype,"applyDecalMapAfterDetailMap",void 0);i([f("_markAllSubMeshesAsMiscDirty")],t.prototype,"debugMode",void 0);i([A()],t.prototype,"transparencyMode",null);Ce("BABYLON.OpenPBRMaterial",t);export{t as OpenPBRMaterial,V as OpenPBRMaterialDefines};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import{fr as i}from"./dynamicTexture-Cuby-VOT.js";import"./logDepthDeclaration-CeLLOhuK.js";import"./logDepthFragment-CDaMyvfH.js";const e="outlinePixelShader",r=`#ifdef LOGARITHMICDEPTH
|
|
2
|
+
#extension GL_EXT_frag_depth : enable
|
|
3
|
+
#endif
|
|
4
|
+
uniform vec4 color;
|
|
5
|
+
#ifdef ALPHATEST
|
|
6
|
+
varying vec2 vUV;uniform sampler2D diffuseSampler;
|
|
7
|
+
#endif
|
|
8
|
+
#include<clipPlaneFragmentDeclaration>
|
|
9
|
+
#include<logDepthDeclaration>
|
|
10
|
+
#define CUSTOM_FRAGMENT_DEFINITIONS
|
|
11
|
+
void main(void) {
|
|
12
|
+
#define CUSTOM_FRAGMENT_MAIN_BEGIN
|
|
13
|
+
#include<clipPlaneFragment>
|
|
14
|
+
#ifdef ALPHATEST
|
|
15
|
+
if (texture2D(diffuseSampler,vUV).a<0.4)
|
|
16
|
+
discard;
|
|
17
|
+
#endif
|
|
18
|
+
#include<logDepthFragment>
|
|
19
|
+
gl_FragColor=color;
|
|
20
|
+
#define CUSTOM_FRAGMENT_MAIN_END
|
|
21
|
+
}`;i.ShadersStore[e]||(i.ShadersStore[e]=r);const d={name:e,shader:r};export{d as outlinePixelShader};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{fr as r}from"./dynamicTexture-Cuby-VOT.js";import"./clipPlaneFragment-Bgl3Usc4.js";import"./logDepthDeclaration-XDsVKoT0.js";import"./logDepthFragment-BPP-rBiT.js";const e="outlinePixelShader",a=`uniform color: vec4f;
|
|
2
|
+
#ifdef ALPHATEST
|
|
3
|
+
varying vUV: vec2f;var diffuseSamplerSampler: sampler;var diffuseSampler: texture_2d<f32>;
|
|
4
|
+
#endif
|
|
5
|
+
#include<clipPlaneFragmentDeclaration>
|
|
6
|
+
#include<logDepthDeclaration>
|
|
7
|
+
#define CUSTOM_FRAGMENT_DEFINITIONS
|
|
8
|
+
@fragment
|
|
9
|
+
fn main(input: FragmentInputs)->FragmentOutputs {
|
|
10
|
+
#define CUSTOM_FRAGMENT_MAIN_BEGIN
|
|
11
|
+
#include<clipPlaneFragment>
|
|
12
|
+
#ifdef ALPHATEST
|
|
13
|
+
if (textureSample(diffuseSampler,diffuseSamplerSampler,fragmentInputs.vUV).a<0.4) {discard;}
|
|
14
|
+
#endif
|
|
15
|
+
#include<logDepthFragment>
|
|
16
|
+
fragmentOutputs.color=uniforms.color;
|
|
17
|
+
#define CUSTOM_FRAGMENT_MAIN_END
|
|
18
|
+
}`;r.ShadersStoreWGSL[e]||(r.ShadersStoreWGSL[e]=a);const l={name:e,shader:a};export{l as outlinePixelShaderWGSL};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import{fr as i}from"./dynamicTexture-Cuby-VOT.js";import"./logDepthDeclaration-CeLLOhuK.js";import"./logDepthVertex-H6E8NLz1.js";const e="outlineVertexShader",t=`attribute vec3 position;attribute vec3 normal;
|
|
2
|
+
#include<bonesDeclaration>
|
|
3
|
+
#include<bakedVertexAnimationDeclaration>
|
|
4
|
+
#include<morphTargetsVertexGlobalDeclaration>
|
|
5
|
+
#include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]
|
|
6
|
+
#include<clipPlaneVertexDeclaration>
|
|
7
|
+
uniform float offset;
|
|
8
|
+
#include<instancesDeclaration>
|
|
9
|
+
uniform mat4 viewProjection;
|
|
10
|
+
#ifdef ALPHATEST
|
|
11
|
+
varying vec2 vUV;uniform mat4 diffuseMatrix;
|
|
12
|
+
#ifdef UV1
|
|
13
|
+
attribute vec2 uv;
|
|
14
|
+
#endif
|
|
15
|
+
#ifdef UV2
|
|
16
|
+
attribute vec2 uv2;
|
|
17
|
+
#endif
|
|
18
|
+
#endif
|
|
19
|
+
#include<logDepthDeclaration>
|
|
20
|
+
#define CUSTOM_VERTEX_DEFINITIONS
|
|
21
|
+
void main(void)
|
|
22
|
+
{vec3 positionUpdated=position;vec3 normalUpdated=normal;
|
|
23
|
+
#ifdef UV1
|
|
24
|
+
vec2 uvUpdated=uv;
|
|
25
|
+
#endif
|
|
26
|
+
#ifdef UV2
|
|
27
|
+
vec2 uv2Updated=uv2;
|
|
28
|
+
#endif
|
|
29
|
+
#include<morphTargetsVertexGlobal>
|
|
30
|
+
#include<morphTargetsVertex>[0..maxSimultaneousMorphTargets]
|
|
31
|
+
vec3 offsetPosition=positionUpdated+(normalUpdated*offset);
|
|
32
|
+
#include<instancesVertex>
|
|
33
|
+
#include<bonesVertex>
|
|
34
|
+
#include<bakedVertexAnimation>
|
|
35
|
+
vec4 worldPos=finalWorld*vec4(offsetPosition,1.0);gl_Position=viewProjection*worldPos;
|
|
36
|
+
#ifdef ALPHATEST
|
|
37
|
+
#ifdef UV1
|
|
38
|
+
vUV=vec2(diffuseMatrix*vec4(uvUpdated,1.0,0.0));
|
|
39
|
+
#endif
|
|
40
|
+
#ifdef UV2
|
|
41
|
+
vUV=vec2(diffuseMatrix*vec4(uv2Updated,1.0,0.0));
|
|
42
|
+
#endif
|
|
43
|
+
#endif
|
|
44
|
+
#include<clipPlaneVertex>
|
|
45
|
+
#include<logDepthVertex>
|
|
46
|
+
}
|
|
47
|
+
`;i.ShadersStore[e]||(i.ShadersStore[e]=t);const r={name:e,shader:t};export{r as outlineVertexShader};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import{fr as t}from"./dynamicTexture-Cuby-VOT.js";import"./clipPlaneVertex-BxK9aoI2.js";import"./morphTargetsVertex-B9xWvV_u.js";import"./instancesDeclaration-B2a0VuuR.js";import"./logDepthDeclaration-XDsVKoT0.js";import"./logDepthVertex-CkFa6uAf.js";const e="outlineVertexShader",i=`attribute position: vec3f;attribute normal: vec3f;
|
|
2
|
+
#include<bonesDeclaration>
|
|
3
|
+
#include<bakedVertexAnimationDeclaration>
|
|
4
|
+
#include<morphTargetsVertexGlobalDeclaration>
|
|
5
|
+
#include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]
|
|
6
|
+
#include<clipPlaneVertexDeclaration>
|
|
7
|
+
uniform offset: f32;
|
|
8
|
+
#include<instancesDeclaration>
|
|
9
|
+
uniform viewProjection: mat4x4f;
|
|
10
|
+
#ifdef ALPHATEST
|
|
11
|
+
varying vUV: vec2f;uniform diffuseMatrix: mat4x4f;
|
|
12
|
+
#ifdef UV1
|
|
13
|
+
attribute uv: vec2f;
|
|
14
|
+
#endif
|
|
15
|
+
#ifdef UV2
|
|
16
|
+
attribute uv2: vec2f;
|
|
17
|
+
#endif
|
|
18
|
+
#endif
|
|
19
|
+
#include<logDepthDeclaration>
|
|
20
|
+
#define CUSTOM_VERTEX_DEFINITIONS
|
|
21
|
+
@vertex
|
|
22
|
+
fn main(input: VertexInputs)->FragmentInputs {var positionUpdated: vec3f=vertexInputs.position;var normalUpdated: vec3f=vertexInputs.normal;
|
|
23
|
+
#ifdef UV1
|
|
24
|
+
var uvUpdated: vec2f=vertexInputs.uv;
|
|
25
|
+
#endif
|
|
26
|
+
#ifdef UV2
|
|
27
|
+
var uv2Updated: vec2f=vertexInputs.uv2;
|
|
28
|
+
#endif
|
|
29
|
+
#include<morphTargetsVertexGlobal>
|
|
30
|
+
#include<morphTargetsVertex>[0..maxSimultaneousMorphTargets]
|
|
31
|
+
var offsetPosition: vec3f=positionUpdated+(normalUpdated*uniforms.offset);
|
|
32
|
+
#include<instancesVertex>
|
|
33
|
+
#include<bonesVertex>
|
|
34
|
+
#include<bakedVertexAnimation>
|
|
35
|
+
var worldPos: vec4f=finalWorld*vec4f(offsetPosition,1.0);vertexOutputs.position=uniforms.viewProjection*worldPos;
|
|
36
|
+
#ifdef ALPHATEST
|
|
37
|
+
#ifdef UV1
|
|
38
|
+
vertexOutputs.vUV=(uniforms.diffuseMatrix*vec4f(uvUpdated,1.0,0.0)).xy;
|
|
39
|
+
#endif
|
|
40
|
+
#ifdef UV2
|
|
41
|
+
vertexOutputs.vUV=(uniforms.diffuseMatrix*vec4f(uv2Updated,1.0,0.0)).xy;
|
|
42
|
+
#endif
|
|
43
|
+
#endif
|
|
44
|
+
#include<clipPlaneVertex>
|
|
45
|
+
#include<logDepthVertex>
|
|
46
|
+
}
|
|
47
|
+
`;t.ShadersStoreWGSL[e]||(t.ShadersStoreWGSL[e]=i);const u={name:e,shader:i};export{u as outlineVertexShaderWGSL};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{fr as t}from"./dynamicTexture-Cuby-VOT.js";const e="passCubePixelShader",r=`varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_cube<f32>;
|
|
2
|
+
#define CUSTOM_FRAGMENT_DEFINITIONS
|
|
3
|
+
@fragment
|
|
4
|
+
fn main(input: FragmentInputs)->FragmentOutputs {var uv: vec2f=input.vUV*2.0-1.0;
|
|
5
|
+
#ifdef POSITIVEX
|
|
6
|
+
fragmentOutputs.color=textureSample(textureSampler,textureSamplerSampler,vec3f(1.001,uv.y,uv.x));
|
|
7
|
+
#endif
|
|
8
|
+
#ifdef NEGATIVEX
|
|
9
|
+
fragmentOutputs.color=textureSample(textureSampler,textureSamplerSampler,vec3f(-1.001,uv.y,uv.x));
|
|
10
|
+
#endif
|
|
11
|
+
#ifdef POSITIVEY
|
|
12
|
+
fragmentOutputs.color=textureSample(textureSampler,textureSamplerSampler,vec3f(uv.y,1.001,uv.x));
|
|
13
|
+
#endif
|
|
14
|
+
#ifdef NEGATIVEY
|
|
15
|
+
fragmentOutputs.color=textureSample(textureSampler,textureSamplerSampler,vec3f(uv.y,-1.001,uv.x));
|
|
16
|
+
#endif
|
|
17
|
+
#ifdef POSITIVEZ
|
|
18
|
+
fragmentOutputs.color=textureSample(textureSampler,textureSamplerSampler,vec3f(uv,1.001));
|
|
19
|
+
#endif
|
|
20
|
+
#ifdef NEGATIVEZ
|
|
21
|
+
fragmentOutputs.color=textureSample(textureSampler,textureSamplerSampler,vec3f(uv,-1.001));
|
|
22
|
+
#endif
|
|
23
|
+
}`;t.ShadersStoreWGSL[e]||(t.ShadersStoreWGSL[e]=r);const u={name:e,shader:r};export{u as passCubePixelShaderWGSL};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{fr as r}from"./dynamicTexture-Cuby-VOT.js";const e="passCubePixelShader",t=`varying vec2 vUV;uniform samplerCube textureSampler;
|
|
2
|
+
#define CUSTOM_FRAGMENT_DEFINITIONS
|
|
3
|
+
void main(void)
|
|
4
|
+
{vec2 uv=vUV*2.0-1.0;
|
|
5
|
+
#ifdef POSITIVEX
|
|
6
|
+
gl_FragColor=textureCube(textureSampler,vec3(1.001,uv.y,uv.x));
|
|
7
|
+
#endif
|
|
8
|
+
#ifdef NEGATIVEX
|
|
9
|
+
gl_FragColor=textureCube(textureSampler,vec3(-1.001,uv.y,uv.x));
|
|
10
|
+
#endif
|
|
11
|
+
#ifdef POSITIVEY
|
|
12
|
+
gl_FragColor=textureCube(textureSampler,vec3(uv.y,1.001,uv.x));
|
|
13
|
+
#endif
|
|
14
|
+
#ifdef NEGATIVEY
|
|
15
|
+
gl_FragColor=textureCube(textureSampler,vec3(uv.y,-1.001,uv.x));
|
|
16
|
+
#endif
|
|
17
|
+
#ifdef POSITIVEZ
|
|
18
|
+
gl_FragColor=textureCube(textureSampler,vec3(uv,1.001));
|
|
19
|
+
#endif
|
|
20
|
+
#ifdef NEGATIVEZ
|
|
21
|
+
gl_FragColor=textureCube(textureSampler,vec3(uv,-1.001));
|
|
22
|
+
#endif
|
|
23
|
+
}`;r.ShadersStore[e]||(r.ShadersStore[e]=t);const a={name:e,shader:t};export{a as passCubePixelShader};
|
|
Binary file
|
|
Binary file
|