@gnsx/three 0.184.14 → 0.184.16

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.
@@ -3,8 +3,8 @@
3
3
  * Copyright 2010-2026 Three.js Authors
4
4
  * SPDX-License-Identifier: MIT
5
5
  */
6
- import { Matrix3, Vector2, Color, Vector3, mergeUniforms, CubeUVReflectionMapping, Mesh, BoxGeometry, ShaderMaterial, BackSide, cloneUniforms, Matrix4, ColorManagement, SRGBTransfer, PlaneGeometry, FrontSide, getUnlitUniformColorSpace, IntType, warn, HalfFloatType, UnsignedByteType, FloatType, RGBAFormat, Plane, CubeReflectionMapping, CubeRefractionMapping, BufferGeometry, OrthographicCamera, PerspectiveCamera, NoToneMapping, MeshBasicMaterial, error, NoBlending, WebGLRenderTarget, BufferAttribute, LinearSRGBColorSpace, LinearFilter, CubeTexture, LinearMipmapLinearFilter, CubeCamera, EquirectangularReflectionMapping, EquirectangularRefractionMapping, warnOnce, Uint32BufferAttribute, Uint16BufferAttribute, DataArrayTexture, Vector4, DepthTexture, Float32BufferAttribute, RawShaderMaterial, CustomToneMapping, NeutralToneMapping, AgXToneMapping, ACESFilmicToneMapping, CineonToneMapping, ReinhardToneMapping, LinearToneMapping, Data3DTexture, GreaterEqualCompare, LessEqualCompare, Texture, GLSL3, VSMShadowMap, PCFShadowMap, AddOperation, MixOperation, MultiplyOperation, LinearTransfer, UniformsUtils, DoubleSide, NormalBlending, TangentSpaceNormalMap, ObjectSpaceNormalMap, Layers, RGFormat, RG11_EAC_Format, RED_GREEN_RGTC2_Format, MeshDepthMaterial, MeshDistanceMaterial, PCFSoftShadowMap, DepthFormat, NearestFilter, CubeDepthTexture, UnsignedIntType, Frustum, LessEqualDepth, ReverseSubtractEquation, SubtractEquation, AddEquation, OneMinusConstantAlphaFactor, ConstantAlphaFactor, OneMinusConstantColorFactor, ConstantColorFactor, OneMinusDstAlphaFactor, OneMinusDstColorFactor, OneMinusSrcAlphaFactor, OneMinusSrcColorFactor, DstAlphaFactor, DstColorFactor, SrcAlphaSaturateFactor, SrcAlphaFactor, SrcColorFactor, OneFactor, ZeroFactor, NotEqualDepth, GreaterDepth, GreaterEqualDepth, EqualDepth, LessDepth, AlwaysDepth, NeverDepth, CullFaceNone, CullFaceBack, CullFaceFront, CustomBlending, MultiplyBlending, SubtractiveBlending, AdditiveBlending, ReversedDepthFuncs, MinEquation, MaxEquation, MirroredRepeatWrapping, ClampToEdgeWrapping, RepeatWrapping, LinearMipmapNearestFilter, NearestMipmapLinearFilter, NearestMipmapNearestFilter, NotEqualCompare, GreaterCompare, EqualCompare, LessCompare, AlwaysCompare, NeverCompare, NoColorSpace, DepthStencilFormat, getByteLength, UnsignedInt248Type, UnsignedShortType, createElementNS, UnsignedShort4444Type, UnsignedShort5551Type, UnsignedInt5999Type, UnsignedInt101111Type, ByteType, ShortType, AlphaFormat, RGBFormat, RedFormat, RedIntegerFormat, RGIntegerFormat, RGBAIntegerFormat, RGB_S3TC_DXT1_Format, RGBA_S3TC_DXT1_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT5_Format, RGB_PVRTC_4BPPV1_Format, RGB_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGBA_PVRTC_2BPPV1_Format, RGB_ETC1_Format, RGB_ETC2_Format, RGBA_ETC2_EAC_Format, R11_EAC_Format, SIGNED_R11_EAC_Format, SIGNED_RG11_EAC_Format, RGBA_ASTC_4x4_Format, RGBA_ASTC_5x4_Format, RGBA_ASTC_5x5_Format, RGBA_ASTC_6x5_Format, RGBA_ASTC_6x6_Format, RGBA_ASTC_8x5_Format, RGBA_ASTC_8x6_Format, RGBA_ASTC_8x8_Format, RGBA_ASTC_10x5_Format, RGBA_ASTC_10x6_Format, RGBA_ASTC_10x8_Format, RGBA_ASTC_10x10_Format, RGBA_ASTC_12x10_Format, RGBA_ASTC_12x12_Format, RGBA_BPTC_Format, RGB_BPTC_SIGNED_Format, RGB_BPTC_UNSIGNED_Format, RED_RGTC1_Format, SIGNED_RED_RGTC1_Format, SIGNED_RED_GREEN_RGTC2_Format, ExternalTexture, EventDispatcher, ArrayCamera, WebXRController, RAD2DEG, DataTexture, createCanvasElement, SRGBColorSpace, REVISION, log, WebGLCoordinateSystem, probeAsync } from './three.core.js';
7
- export { AdditiveAnimationBlendMode, AlwaysStencilFunc, AmbientLight, AnimationAction, AnimationClip, AnimationLoader, AnimationMixer, AnimationObjectGroup, AnimationUtils, ArcCurve, ArrowHelper, AttachedBindMode, Audio, AudioAnalyser, AudioContext, AudioListener, AudioLoader, AxesHelper, BasicDepthPacking, BasicShadowMap, BatchedMesh, BezierInterpolant, Bone, BooleanKeyframeTrack, Box2, Box3, Box3Helper, BoxHelper, BufferGeometryLoader, Cache, Camera, CameraHelper, CanvasTexture, CapsuleGeometry, CatmullRomCurve3, CircleGeometry, Clock, ColorKeyframeTrack, Compatibility, CompressedArrayTexture, CompressedCubeTexture, CompressedTexture, CompressedTextureLoader, ConeGeometry, Controls, CubeTextureLoader, CubicBezierCurve, CubicBezierCurve3, CubicInterpolant, CullFaceFrontBack, Curve, CurvePath, CylinderGeometry, Cylindrical, DataTextureLoader, DataUtils, DecrementStencilOp, DecrementWrapStencilOp, DefaultLoadingManager, DetachedBindMode, DirectionalLight, DirectionalLightHelper, DiscreteInterpolant, DodecahedronGeometry, DynamicCopyUsage, DynamicDrawUsage, DynamicReadUsage, EdgesGeometry, EllipseCurve, EqualStencilFunc, Euler, ExtrudeGeometry, FileLoader, Float16BufferAttribute, Fog, FogExp2, FramebufferTexture, FrustumArray, GLBufferAttribute, GLSL1, GreaterEqualStencilFunc, GreaterStencilFunc, GridHelper, Group, HTMLTexture, HemisphereLight, HemisphereLightHelper, IcosahedronGeometry, ImageBitmapLoader, ImageLoader, ImageUtils, IncrementStencilOp, IncrementWrapStencilOp, InstancedBufferAttribute, InstancedBufferGeometry, InstancedInterleavedBuffer, InstancedMesh, Int16BufferAttribute, Int32BufferAttribute, Int8BufferAttribute, InterleavedBuffer, InterleavedBufferAttribute, Interpolant, InterpolateBezier, InterpolateDiscrete, InterpolateLinear, InterpolateSmooth, InterpolationSamplingMode, InterpolationSamplingType, InvertStencilOp, KeepStencilOp, KeyframeTrack, LOD, LatheGeometry, LessEqualStencilFunc, LessStencilFunc, Light, LightProbe, Line, Line3, LineBasicMaterial, LineCurve, LineCurve3, LineDashedMaterial, LineLoop, LineSegments, LinearInterpolant, LinearMipMapLinearFilter, LinearMipMapNearestFilter, Loader, LoaderUtils, LoadingManager, LoopOnce, LoopPingPong, LoopRepeat, MOUSE, Material, MaterialBlending, MaterialLoader, MathUtils, Matrix2, MeshLambertMaterial, MeshMatcapMaterial, MeshNormalMaterial, MeshPhongMaterial, MeshPhysicalMaterial, MeshStandardMaterial, MeshToonMaterial, NearestMipMapLinearFilter, NearestMipMapNearestFilter, NeverStencilFunc, NoNormalPacking, NormalAnimationBlendMode, NormalGAPacking, NormalRGPacking, NotEqualStencilFunc, NumberKeyframeTrack, Object3D, ObjectLoader, OctahedronGeometry, Path, PlaneHelper, PointLight, PointLightHelper, Points, PointsMaterial, PolarGridHelper, PolyhedronGeometry, PositionalAudio, ProfilerService, PropertyBinding, PropertyMixer, QuadraticBezierCurve, QuadraticBezierCurve3, Quaternion, QuaternionKeyframeTrack, QuaternionLinearInterpolant, RGBADepthPacking, RGBDepthPacking, RGBIntegerFormat, RGDepthPacking, Ray, Raycaster, RectAreaLight, RenderTarget, RenderTarget3D, ReplaceStencilOp, RingGeometry, Scene, ShadowMaterial, Shape, ShapeGeometry, ShapePath, ShapeUtils, Skeleton, SkeletonHelper, SkinnedMesh, Source, Sphere, SphereGeometry, Spherical, SphericalHarmonics3, SplineCurve, SpotLight, SpotLightHelper, Sprite, SpriteMaterial, StaticCopyUsage, StaticDrawUsage, StaticReadUsage, StereoCamera, StreamCopyUsage, StreamDrawUsage, StreamReadUsage, StringKeyframeTrack, TOUCH, TetrahedronGeometry, TextureLoader, TextureUtils, Timer, TimestampQuery, TorusGeometry, TorusKnotGeometry, Triangle, TriangleFanDrawMode, TriangleStripDrawMode, TrianglesDrawMode, TubeGeometry, UVMapping, Uint8BufferAttribute, Uint8ClampedBufferAttribute, Uniform, UniformsGroup, VectorKeyframeTrack, VideoFrameTexture, VideoTexture, WebGL3DRenderTarget, WebGLArrayRenderTarget, WebGPUCoordinateSystem, WireframeGeometry, WrapAroundEnding, ZeroCurvatureEnding, ZeroSlopeEnding, ZeroStencilOp, getConsoleFunction, profile, profileClass, setConsoleFunction } from './three.core.js';
6
+ import { Matrix3, Vector2, Color, Vector3, mergeUniforms, CubeUVReflectionMapping, Mesh, BoxGeometry, ShaderMaterial, BackSide, cloneUniforms, Matrix4, ColorManagement, SRGBTransfer, PlaneGeometry, FrontSide, getUnlitUniformColorSpace, IntType, warn, HalfFloatType, UnsignedByteType, FloatType, RGBAFormat, Plane, CubeReflectionMapping, CubeRefractionMapping, BufferGeometry, OrthographicCamera, PerspectiveCamera, NoToneMapping, MeshBasicMaterial, error, NoBlending, WebGLRenderTarget, BufferAttribute, LinearSRGBColorSpace, LinearFilter, CubeTexture, LinearMipmapLinearFilter, CubeCamera, EquirectangularReflectionMapping, EquirectangularRefractionMapping, warnOnce, Uint32BufferAttribute, Uint16BufferAttribute, DataArrayTexture, Vector4, DepthTexture, Float32BufferAttribute, RawShaderMaterial, CustomToneMapping, NeutralToneMapping, AgXToneMapping, ACESFilmicToneMapping, CineonToneMapping, ReinhardToneMapping, LinearToneMapping, Data3DTexture, GreaterEqualCompare, LessEqualCompare, Texture, GLSL3, VSMShadowMap, PCFShadowMap, AddOperation, MixOperation, MultiplyOperation, LinearTransfer, UniformsUtils, DoubleSide, NormalBlending, TangentSpaceNormalMap, ObjectSpaceNormalMap, Layers, RGFormat, RG11_EAC_Format, RED_GREEN_RGTC2_Format, MeshDepthMaterial, MeshDistanceMaterial, PCFSoftShadowMap, ProfilerService, DepthFormat, NearestFilter, CubeDepthTexture, UnsignedIntType, Frustum, LessEqualDepth, ReverseSubtractEquation, SubtractEquation, AddEquation, OneMinusConstantAlphaFactor, ConstantAlphaFactor, OneMinusConstantColorFactor, ConstantColorFactor, OneMinusDstAlphaFactor, OneMinusDstColorFactor, OneMinusSrcAlphaFactor, OneMinusSrcColorFactor, DstAlphaFactor, DstColorFactor, SrcAlphaSaturateFactor, SrcAlphaFactor, SrcColorFactor, OneFactor, ZeroFactor, NotEqualDepth, GreaterDepth, GreaterEqualDepth, EqualDepth, LessDepth, AlwaysDepth, NeverDepth, CullFaceNone, CullFaceBack, CullFaceFront, CustomBlending, MultiplyBlending, SubtractiveBlending, AdditiveBlending, ReversedDepthFuncs, MinEquation, MaxEquation, MirroredRepeatWrapping, ClampToEdgeWrapping, RepeatWrapping, LinearMipmapNearestFilter, NearestMipmapLinearFilter, NearestMipmapNearestFilter, NotEqualCompare, GreaterCompare, EqualCompare, LessCompare, AlwaysCompare, NeverCompare, NoColorSpace, DepthStencilFormat, getByteLength, UnsignedInt248Type, UnsignedShortType, createElementNS, UnsignedShort4444Type, UnsignedShort5551Type, UnsignedInt5999Type, UnsignedInt101111Type, ByteType, ShortType, AlphaFormat, RGBFormat, RedFormat, RedIntegerFormat, RGIntegerFormat, RGBAIntegerFormat, RGB_S3TC_DXT1_Format, RGBA_S3TC_DXT1_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT5_Format, RGB_PVRTC_4BPPV1_Format, RGB_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGBA_PVRTC_2BPPV1_Format, RGB_ETC1_Format, RGB_ETC2_Format, RGBA_ETC2_EAC_Format, R11_EAC_Format, SIGNED_R11_EAC_Format, SIGNED_RG11_EAC_Format, RGBA_ASTC_4x4_Format, RGBA_ASTC_5x4_Format, RGBA_ASTC_5x5_Format, RGBA_ASTC_6x5_Format, RGBA_ASTC_6x6_Format, RGBA_ASTC_8x5_Format, RGBA_ASTC_8x6_Format, RGBA_ASTC_8x8_Format, RGBA_ASTC_10x5_Format, RGBA_ASTC_10x6_Format, RGBA_ASTC_10x8_Format, RGBA_ASTC_10x10_Format, RGBA_ASTC_12x10_Format, RGBA_ASTC_12x12_Format, RGBA_BPTC_Format, RGB_BPTC_SIGNED_Format, RGB_BPTC_UNSIGNED_Format, RED_RGTC1_Format, SIGNED_RED_RGTC1_Format, SIGNED_RED_GREEN_RGTC2_Format, ExternalTexture, EventDispatcher, ArrayCamera, WebXRController, RAD2DEG, DataTexture, createCanvasElement, SRGBColorSpace, REVISION, log, WebGLCoordinateSystem, probeAsync } from './three.core.js';
7
+ export { AdditiveAnimationBlendMode, AlwaysStencilFunc, AmbientLight, AnimationAction, AnimationClip, AnimationLoader, AnimationMixer, AnimationObjectGroup, AnimationUtils, ArcCurve, ArrowHelper, AttachedBindMode, Audio, AudioAnalyser, AudioContext, AudioListener, AudioLoader, AxesHelper, BasicDepthPacking, BasicShadowMap, BatchedMesh, BezierInterpolant, Bone, BooleanKeyframeTrack, Box2, Box3, Box3Helper, BoxHelper, BufferGeometryLoader, Cache, Camera, CameraHelper, CanvasTexture, CapsuleGeometry, CatmullRomCurve3, CircleGeometry, Clock, ColorKeyframeTrack, Compatibility, CompressedArrayTexture, CompressedCubeTexture, CompressedTexture, CompressedTextureLoader, ConeGeometry, Controls, CubeTextureLoader, CubicBezierCurve, CubicBezierCurve3, CubicInterpolant, CullFaceFrontBack, Curve, CurvePath, CylinderGeometry, Cylindrical, DataTextureLoader, DataUtils, DecrementStencilOp, DecrementWrapStencilOp, DefaultLoadingManager, DetachedBindMode, DirectionalLight, DirectionalLightHelper, DiscreteInterpolant, DodecahedronGeometry, DynamicCopyUsage, DynamicDrawUsage, DynamicReadUsage, EdgesGeometry, EllipseCurve, EqualStencilFunc, Euler, ExtrudeGeometry, FileLoader, Float16BufferAttribute, Fog, FogExp2, FramebufferTexture, FrustumArray, GLBufferAttribute, GLSL1, GreaterEqualStencilFunc, GreaterStencilFunc, GridHelper, Group, HTMLTexture, HemisphereLight, HemisphereLightHelper, IcosahedronGeometry, ImageBitmapLoader, ImageLoader, ImageUtils, IncrementStencilOp, IncrementWrapStencilOp, InstancedBufferAttribute, InstancedBufferGeometry, InstancedInterleavedBuffer, InstancedMesh, Int16BufferAttribute, Int32BufferAttribute, Int8BufferAttribute, InterleavedBuffer, InterleavedBufferAttribute, Interpolant, InterpolateBezier, InterpolateDiscrete, InterpolateLinear, InterpolateSmooth, InterpolationSamplingMode, InterpolationSamplingType, InvertStencilOp, KeepStencilOp, KeyframeTrack, LOD, LatheGeometry, LessEqualStencilFunc, LessStencilFunc, Light, LightProbe, Line, Line3, LineBasicMaterial, LineCurve, LineCurve3, LineDashedMaterial, LineLoop, LineSegments, LinearInterpolant, LinearMipMapLinearFilter, LinearMipMapNearestFilter, Loader, LoaderUtils, LoadingManager, LoopOnce, LoopPingPong, LoopRepeat, MOUSE, Material, MaterialBlending, MaterialLoader, MathUtils, Matrix2, MeshLambertMaterial, MeshMatcapMaterial, MeshNormalMaterial, MeshPhongMaterial, MeshPhysicalMaterial, MeshStandardMaterial, MeshToonMaterial, NearestMipMapLinearFilter, NearestMipMapNearestFilter, NeverStencilFunc, NoNormalPacking, NormalAnimationBlendMode, NormalGAPacking, NormalRGPacking, NotEqualStencilFunc, NumberKeyframeTrack, Object3D, ObjectLoader, OctahedronGeometry, Path, PlaneHelper, PointLight, PointLightHelper, Points, PointsMaterial, PolarGridHelper, PolyhedronGeometry, PositionalAudio, PropertyBinding, PropertyMixer, QuadraticBezierCurve, QuadraticBezierCurve3, Quaternion, QuaternionKeyframeTrack, QuaternionLinearInterpolant, RGBADepthPacking, RGBDepthPacking, RGBIntegerFormat, RGDepthPacking, Ray, Raycaster, RectAreaLight, RenderTarget, RenderTarget3D, ReplaceStencilOp, RingGeometry, Scene, ShadowMaterial, Shape, ShapeGeometry, ShapePath, ShapeUtils, Skeleton, SkeletonHelper, SkinnedMesh, Source, Sphere, SphereGeometry, Spherical, SphericalHarmonics3, SplineCurve, SpotLight, SpotLightHelper, Sprite, SpriteMaterial, StaticCopyUsage, StaticDrawUsage, StaticReadUsage, StereoCamera, StreamCopyUsage, StreamDrawUsage, StreamReadUsage, StringKeyframeTrack, TOUCH, TetrahedronGeometry, TextureLoader, TextureUtils, Timer, TimestampQuery, TorusGeometry, TorusKnotGeometry, Triangle, TriangleFanDrawMode, TriangleStripDrawMode, TrianglesDrawMode, TubeGeometry, UVMapping, Uint8BufferAttribute, Uint8ClampedBufferAttribute, Uniform, UniformsGroup, VectorKeyframeTrack, VideoFrameTexture, VideoTexture, WebGL3DRenderTarget, WebGLArrayRenderTarget, WebGPUCoordinateSystem, WireframeGeometry, WrapAroundEnding, ZeroCurvatureEnding, ZeroSlopeEnding, ZeroStencilOp, getConsoleFunction, profile, profileClass, setConsoleFunction } from './three.core.js';
8
8
 
9
9
  function WebGLAnimation() {
10
10
 
@@ -9054,6 +9054,8 @@ const vertex = "void main() {\n\tgl_Position = vec4( position, 1.0 );\n}";
9054
9054
 
9055
9055
  const fragment = "uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < samples; i ++ ) {\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ).rg;\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ).r;\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\tfloat std_dev = sqrt( max( 0.0, squared_mean - mean * mean ) );\n\tgl_FragColor = vec4( mean, std_dev, 0.0, 1.0 );\n}";
9056
9056
 
9057
+ // !WITH_GENESYS
9058
+
9057
9059
  const _cubeDirections = [
9058
9060
  /*@__PURE__*/ new Vector3( 1, 0, 0 ), /*@__PURE__*/ new Vector3( -1, 0, 0 ), /*@__PURE__*/ new Vector3( 0, 1, 0 ),
9059
9061
  /*@__PURE__*/ new Vector3( 0, -1, 0 ), /*@__PURE__*/ new Vector3( 0, 0, 1 ), /*@__PURE__*/ new Vector3( 0, 0, -1 )
@@ -9169,6 +9171,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9169
9171
  // (sampler2DShadow for PCF vs sampler2D for Basic)
9170
9172
  if ( typeChanged ) {
9171
9173
 
9174
+ // WITH_GENESYS
9175
+ ProfilerService.begin( 'shadowMap.render.typeChangeMaterialUpdate' );
9176
+ // !WITH_GENESYS
9177
+
9172
9178
  scene.traverse( function ( object ) {
9173
9179
 
9174
9180
  if ( object.material ) {
@@ -9187,6 +9193,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9187
9193
 
9188
9194
  } );
9189
9195
 
9196
+ // WITH_GENESYS
9197
+ ProfilerService.end( 'shadowMap.render.typeChangeMaterialUpdate' );
9198
+ // !WITH_GENESYS
9199
+
9190
9200
  }
9191
9201
 
9192
9202
  // render depth map
@@ -9196,14 +9206,29 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9196
9206
  const light = lights[ i ];
9197
9207
  const shadow = light.shadow;
9198
9208
 
9209
+ // WITH_GENESYS
9210
+ const lightLabel = `shadowMap.render.light (${light.name || light.type})`;
9211
+ ProfilerService.begin( lightLabel );
9212
+ // !WITH_GENESYS
9213
+
9199
9214
  if ( shadow === undefined ) {
9200
9215
 
9201
9216
  warn( 'WebGLShadowMap:', light, 'has no shadow.' );
9217
+ // WITH_GENESYS
9218
+ ProfilerService.end( lightLabel );
9219
+ // !WITH_GENESYS
9202
9220
  continue;
9203
9221
 
9204
9222
  }
9205
9223
 
9206
- if ( shadow.autoUpdate === false && shadow.needsUpdate === false ) continue;
9224
+ if ( shadow.autoUpdate === false && shadow.needsUpdate === false ) {
9225
+
9226
+ // WITH_GENESYS
9227
+ ProfilerService.end( lightLabel );
9228
+ // !WITH_GENESYS
9229
+ continue;
9230
+
9231
+ }
9207
9232
 
9208
9233
  _shadowMapSize.copy( shadow.mapSize );
9209
9234
 
@@ -9238,6 +9263,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9238
9263
 
9239
9264
  if ( shadow.map === null || typeChanged === true ) {
9240
9265
 
9266
+ // WITH_GENESYS
9267
+ ProfilerService.begin( 'shadowMap.render.setupMap' );
9268
+ // !WITH_GENESYS
9269
+
9241
9270
  if ( shadow.map !== null ) {
9242
9271
 
9243
9272
  if ( shadow.map.depthTexture !== null ) {
@@ -9256,6 +9285,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9256
9285
  if ( light.isPointLight ) {
9257
9286
 
9258
9287
  warn( 'WebGLShadowMap: VSM shadow maps are not supported for PointLights. Use PCF or BasicShadowMap instead.' );
9288
+ // WITH_GENESYS
9289
+ ProfilerService.end( 'shadowMap.render.setupMap' );
9290
+ ProfilerService.end( lightLabel );
9291
+ // !WITH_GENESYS
9259
9292
  continue;
9260
9293
 
9261
9294
  }
@@ -9312,6 +9345,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9312
9345
 
9313
9346
  shadow.camera.updateProjectionMatrix();
9314
9347
 
9348
+ // WITH_GENESYS
9349
+ ProfilerService.end( 'shadowMap.render.setupMap' );
9350
+ // !WITH_GENESYS
9351
+
9315
9352
  }
9316
9353
 
9317
9354
  // For cube render targets (PointLights), render all 6 faces. Otherwise, render once.
@@ -9319,6 +9356,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9319
9356
 
9320
9357
  for ( let face = 0; face < faceCount; face ++ ) {
9321
9358
 
9359
+ // WITH_GENESYS
9360
+ const faceLabel = faceCount > 1 ? `shadowMap.render.depthPass (face ${face})` : 'shadowMap.render.depthPass';
9361
+ // !WITH_GENESYS
9362
+
9322
9363
  // For cube render targets, render to each face separately
9323
9364
  if ( shadow.map.isWebGLCubeRenderTarget ) {
9324
9365
 
@@ -9348,6 +9389,10 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9348
9389
 
9349
9390
  }
9350
9391
 
9392
+ // WITH_GENESYS
9393
+ ProfilerService.begin( 'shadowMap.render.updateMatrices' );
9394
+ // !WITH_GENESYS
9395
+
9351
9396
  if ( light.isPointLight ) {
9352
9397
 
9353
9398
  const camera = shadow.camera;
@@ -9382,9 +9427,19 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9382
9427
 
9383
9428
  }
9384
9429
 
9430
+ // WITH_GENESYS
9431
+ ProfilerService.end( 'shadowMap.render.updateMatrices' );
9432
+ // !WITH_GENESYS
9433
+
9385
9434
  _frustum = shadow.getFrustum();
9386
9435
 
9436
+ // WITH_GENESYS
9437
+ ProfilerService.begin( faceLabel );
9438
+ // !WITH_GENESYS
9387
9439
  renderObject( scene, camera, shadow.camera, light, this.type );
9440
+ // WITH_GENESYS
9441
+ ProfilerService.end( faceLabel );
9442
+ // !WITH_GENESYS
9388
9443
 
9389
9444
  }
9390
9445
 
@@ -9392,12 +9447,22 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9392
9447
 
9393
9448
  if ( shadow.isPointLightShadow !== true && this.type === VSMShadowMap ) {
9394
9449
 
9450
+ // WITH_GENESYS
9451
+ ProfilerService.begin( 'shadowMap.render.vsmPass' );
9452
+ // !WITH_GENESYS
9395
9453
  VSMPass( shadow, camera );
9454
+ // WITH_GENESYS
9455
+ ProfilerService.end( 'shadowMap.render.vsmPass' );
9456
+ // !WITH_GENESYS
9396
9457
 
9397
9458
  }
9398
9459
 
9399
9460
  shadow.needsUpdate = false;
9400
9461
 
9462
+ // WITH_GENESYS
9463
+ ProfilerService.end( lightLabel );
9464
+ // !WITH_GENESYS
9465
+
9401
9466
  }
9402
9467
 
9403
9468
  _previousType = this.type;
@@ -9433,21 +9498,33 @@ function WebGLShadowMap( renderer, objects, capabilities ) {
9433
9498
 
9434
9499
  // vertical pass - read from native depth texture
9435
9500
 
9501
+ // WITH_GENESYS
9502
+ ProfilerService.begin( 'shadowMap.vsmPass.vertical' );
9503
+ // !WITH_GENESYS
9436
9504
  shadowMaterialVertical.uniforms.shadow_pass.value = shadow.map.depthTexture;
9437
9505
  shadowMaterialVertical.uniforms.resolution.value = shadow.mapSize;
9438
9506
  shadowMaterialVertical.uniforms.radius.value = shadow.radius;
9439
9507
  renderer.setRenderTarget( shadow.mapPass );
9440
9508
  renderer.clear();
9441
9509
  renderer.renderBufferDirect( camera, null, geometry, shadowMaterialVertical, fullScreenMesh, null );
9510
+ // WITH_GENESYS
9511
+ ProfilerService.end( 'shadowMap.vsmPass.vertical' );
9512
+ // !WITH_GENESYS
9442
9513
 
9443
9514
  // horizontal pass
9444
9515
 
9516
+ // WITH_GENESYS
9517
+ ProfilerService.begin( 'shadowMap.vsmPass.horizontal' );
9518
+ // !WITH_GENESYS
9445
9519
  shadowMaterialHorizontal.uniforms.shadow_pass.value = shadow.mapPass.texture;
9446
9520
  shadowMaterialHorizontal.uniforms.resolution.value = shadow.mapSize;
9447
9521
  shadowMaterialHorizontal.uniforms.radius.value = shadow.radius;
9448
9522
  renderer.setRenderTarget( shadow.map );
9449
9523
  renderer.clear();
9450
9524
  renderer.renderBufferDirect( camera, null, geometry, shadowMaterialHorizontal, fullScreenMesh, null );
9525
+ // WITH_GENESYS
9526
+ ProfilerService.end( 'shadowMap.vsmPass.horizontal' );
9527
+ // !WITH_GENESYS
9451
9528
 
9452
9529
  }
9453
9530
 
@@ -15995,6 +16072,8 @@ function getDFGLUT() {
15995
16072
 
15996
16073
  }
15997
16074
 
16075
+ // !WITH_GENESYS
16076
+
15998
16077
  /**
15999
16078
  * This renderer uses WebGL 2 to display scenes.
16000
16079
  *
@@ -17540,14 +17619,28 @@ class WebGLRenderer {
17540
17619
  */
17541
17620
  this.render = function ( scene, camera ) {
17542
17621
 
17622
+ // WITH_GENESYS
17623
+ ProfilerService.begin( 'WebGLRenderer.render' );
17624
+ // !WITH_GENESYS
17625
+
17543
17626
  if ( camera !== undefined && camera.isCamera !== true ) {
17544
17627
 
17545
17628
  error( 'WebGLRenderer.render: camera is not an instance of THREE.Camera.' );
17629
+ // WITH_GENESYS
17630
+ ProfilerService.end( 'WebGLRenderer.render' );
17631
+ // !WITH_GENESYS
17546
17632
  return;
17547
17633
 
17548
17634
  }
17549
17635
 
17550
- if ( _isContextLost === true ) return;
17636
+ if ( _isContextLost === true ) {
17637
+
17638
+ // WITH_GENESYS
17639
+ ProfilerService.end( 'WebGLRenderer.render' );
17640
+ // !WITH_GENESYS
17641
+ return;
17642
+
17643
+ }
17551
17644
 
17552
17645
  // update node builder if available
17553
17646
  if ( _nodesHandler !== null ) {
@@ -17564,7 +17657,13 @@ class WebGLRenderer {
17564
17657
 
17565
17658
  // update scene graph
17566
17659
 
17660
+ // WITH_GENESYS
17661
+ ProfilerService.begin( 'scene.updateMatrixWorld' );
17662
+ // !WITH_GENESYS
17567
17663
  if ( scene.matrixWorldAutoUpdate === true ) scene.updateMatrixWorld();
17664
+ // WITH_GENESYS
17665
+ ProfilerService.end( 'scene.updateMatrixWorld' );
17666
+ // !WITH_GENESYS
17568
17667
 
17569
17668
  // update camera matrices and frustum
17570
17669
 
@@ -17598,6 +17697,10 @@ class WebGLRenderer {
17598
17697
 
17599
17698
  renderListStack.push( currentRenderList );
17600
17699
 
17700
+ // WITH_GENESYS
17701
+ ProfilerService.begin( 'buildRenderList' );
17702
+ // !WITH_GENESYS
17703
+
17601
17704
  if ( xr.enabled === true && xr.isPresenting === true ) {
17602
17705
 
17603
17706
  const depthSensingMesh = _this.xr.getDepthSensingMesh();
@@ -17610,16 +17713,34 @@ class WebGLRenderer {
17610
17713
 
17611
17714
  }
17612
17715
 
17716
+ // WITH_GENESYS
17717
+ ProfilerService.begin( 'projectObject' );
17718
+ // !WITH_GENESYS
17719
+
17613
17720
  projectObject( scene, camera, 0, _this.sortObjects );
17614
17721
 
17722
+ // WITH_GENESYS
17723
+ ProfilerService.end( 'projectObject' );
17724
+ // !WITH_GENESYS
17725
+
17615
17726
  currentRenderList.finish();
17616
17727
 
17617
17728
  if ( _this.sortObjects === true ) {
17618
17729
 
17730
+ // WITH_GENESYS
17731
+ ProfilerService.begin( 'sortRenderList' );
17732
+ // !WITH_GENESYS
17619
17733
  currentRenderList.sort( _opaqueSort, _transparentSort );
17734
+ // WITH_GENESYS
17735
+ ProfilerService.end( 'sortRenderList' );
17736
+ // !WITH_GENESYS
17620
17737
 
17621
17738
  }
17622
17739
 
17740
+ // WITH_GENESYS
17741
+ ProfilerService.end( 'buildRenderList' );
17742
+ // !WITH_GENESYS
17743
+
17623
17744
  _renderBackground = xr.enabled === false || xr.isPresenting === false || xr.hasDepthSensing() === false;
17624
17745
  if ( _renderBackground ) {
17625
17746
 
@@ -17635,7 +17756,13 @@ class WebGLRenderer {
17635
17756
 
17636
17757
  const shadowsArray = currentRenderState.state.shadowsArray;
17637
17758
 
17759
+ // WITH_GENESYS
17760
+ ProfilerService.begin( 'shadowMap.render' );
17761
+ // !WITH_GENESYS
17638
17762
  shadowMap.render( shadowsArray, scene, camera );
17763
+ // WITH_GENESYS
17764
+ ProfilerService.end( 'shadowMap.render' );
17765
+ // !WITH_GENESYS
17639
17766
 
17640
17767
  if ( _clippingEnabled === true ) clipping.endShadows();
17641
17768
 
@@ -17649,6 +17776,10 @@ class WebGLRenderer {
17649
17776
 
17650
17777
  if ( skipSceneRender === false ) {
17651
17778
 
17779
+ // WITH_GENESYS
17780
+ ProfilerService.begin( 'WebGLRenderer.renderScene' );
17781
+ // !WITH_GENESYS
17782
+
17652
17783
  const opaqueObjects = currentRenderList.opaque;
17653
17784
  const transmissiveObjects = currentRenderList.transmissive;
17654
17785
 
@@ -17690,6 +17821,10 @@ class WebGLRenderer {
17690
17821
 
17691
17822
  }
17692
17823
 
17824
+ // WITH_GENESYS
17825
+ ProfilerService.end( 'WebGLRenderer.renderScene' );
17826
+ // !WITH_GENESYS
17827
+
17693
17828
  }
17694
17829
 
17695
17830
  //
@@ -17710,7 +17845,13 @@ class WebGLRenderer {
17710
17845
 
17711
17846
  if ( useOutput ) {
17712
17847
 
17848
+ // WITH_GENESYS
17849
+ ProfilerService.begin( 'WebGLOutput.end' );
17850
+ // !WITH_GENESYS
17713
17851
  output.end( _this );
17852
+ // WITH_GENESYS
17853
+ ProfilerService.end( 'WebGLOutput.end' );
17854
+ // !WITH_GENESYS
17714
17855
 
17715
17856
  }
17716
17857
 
@@ -17758,6 +17899,10 @@ class WebGLRenderer {
17758
17899
 
17759
17900
  }
17760
17901
 
17902
+ // WITH_GENESYS
17903
+ ProfilerService.end( 'WebGLRenderer.render' );
17904
+ // !WITH_GENESYS
17905
+
17761
17906
  };
17762
17907
 
17763
17908
  function projectObject( object, camera, groupOrder, sortObjects ) {
@@ -17904,10 +18049,17 @@ class WebGLRenderer {
17904
18049
 
17905
18050
  function renderTransmissionPass( opaqueObjects, transmissiveObjects, scene, camera ) {
17906
18051
 
18052
+ // WITH_GENESYS
18053
+ ProfilerService.begin( 'WebGLRenderer.renderTransmissionPass' );
18054
+ // !WITH_GENESYS
18055
+
17907
18056
  const overrideMaterial = scene.isScene === true ? scene.overrideMaterial : null;
17908
18057
 
17909
18058
  if ( overrideMaterial !== null ) {
17910
18059
 
18060
+ // WITH_GENESYS
18061
+ ProfilerService.end( 'WebGLRenderer.renderTransmissionPass' );
18062
+ // !WITH_GENESYS
17911
18063
  return;
17912
18064
 
17913
18065
  }
@@ -18024,10 +18176,19 @@ class WebGLRenderer {
18024
18176
 
18025
18177
  _this.toneMapping = currentToneMapping;
18026
18178
 
18179
+ // WITH_GENESYS
18180
+ ProfilerService.end( 'WebGLRenderer.renderTransmissionPass' );
18181
+ // !WITH_GENESYS
18182
+
18027
18183
  }
18028
18184
 
18029
18185
  function renderObjects( renderList, scene, camera ) {
18030
18186
 
18187
+ // WITH_GENESYS
18188
+ const renderObjectsLabel = `renderObjects (${renderList.length})`;
18189
+ ProfilerService.begin( renderObjectsLabel );
18190
+ // !WITH_GENESYS
18191
+
18031
18192
  const overrideMaterial = scene.isScene === true ? scene.overrideMaterial : null;
18032
18193
 
18033
18194
  for ( let i = 0, l = renderList.length; i < l; i ++ ) {
@@ -18051,6 +18212,10 @@ class WebGLRenderer {
18051
18212
 
18052
18213
  }
18053
18214
 
18215
+ // WITH_GENESYS
18216
+ ProfilerService.end( renderObjectsLabel );
18217
+ // !WITH_GENESYS
18218
+
18054
18219
  }
18055
18220
 
18056
18221
  function renderObject( object, scene, camera, geometry, material, group ) {
@@ -19549,4 +19714,4 @@ class WebGLRenderer {
19549
19714
 
19550
19715
  }
19551
19716
 
19552
- export { ACESFilmicToneMapping, AddEquation, AddOperation, AdditiveBlending, AgXToneMapping, AlphaFormat, AlwaysCompare, AlwaysDepth, ArrayCamera, BackSide, BoxGeometry, BufferAttribute, BufferGeometry, ByteType, CineonToneMapping, ClampToEdgeWrapping, Color, ColorManagement, ConstantAlphaFactor, ConstantColorFactor, CubeCamera, CubeDepthTexture, CubeReflectionMapping, CubeRefractionMapping, CubeTexture, CubeUVReflectionMapping, CullFaceBack, CullFaceFront, CullFaceNone, CustomBlending, CustomToneMapping, Data3DTexture, DataArrayTexture, DataTexture, DepthFormat, DepthStencilFormat, DepthTexture, DoubleSide, DstAlphaFactor, DstColorFactor, EqualCompare, EqualDepth, EquirectangularReflectionMapping, EquirectangularRefractionMapping, EventDispatcher, ExternalTexture, Float32BufferAttribute, FloatType, FrontSide, Frustum, GLSL3, GreaterCompare, GreaterDepth, GreaterEqualCompare, GreaterEqualDepth, HalfFloatType, IntType, Layers, LessCompare, LessDepth, LessEqualCompare, LessEqualDepth, LinearFilter, LinearMipmapLinearFilter, LinearMipmapNearestFilter, LinearSRGBColorSpace, LinearToneMapping, LinearTransfer, Matrix3, Matrix4, MaxEquation, Mesh, MeshBasicMaterial, MeshDepthMaterial, MeshDistanceMaterial, MinEquation, MirroredRepeatWrapping, MixOperation, MultiplyBlending, MultiplyOperation, NearestFilter, NearestMipmapLinearFilter, NearestMipmapNearestFilter, NeutralToneMapping, NeverCompare, NeverDepth, NoBlending, NoColorSpace, NoToneMapping, NormalBlending, NotEqualCompare, NotEqualDepth, ObjectSpaceNormalMap, OneFactor, OneMinusConstantAlphaFactor, OneMinusConstantColorFactor, OneMinusDstAlphaFactor, OneMinusDstColorFactor, OneMinusSrcAlphaFactor, OneMinusSrcColorFactor, OrthographicCamera, PCFShadowMap, PCFSoftShadowMap, PMREMGenerator, PerspectiveCamera, Plane, PlaneGeometry, R11_EAC_Format, RED_GREEN_RGTC2_Format, RED_RGTC1_Format, REVISION, RG11_EAC_Format, RGBAFormat, RGBAIntegerFormat, RGBA_ASTC_10x10_Format, RGBA_ASTC_10x5_Format, RGBA_ASTC_10x6_Format, RGBA_ASTC_10x8_Format, RGBA_ASTC_12x10_Format, RGBA_ASTC_12x12_Format, RGBA_ASTC_4x4_Format, RGBA_ASTC_5x4_Format, RGBA_ASTC_5x5_Format, RGBA_ASTC_6x5_Format, RGBA_ASTC_6x6_Format, RGBA_ASTC_8x5_Format, RGBA_ASTC_8x6_Format, RGBA_ASTC_8x8_Format, RGBA_BPTC_Format, RGBA_ETC2_EAC_Format, RGBA_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGBA_S3TC_DXT1_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT5_Format, RGBFormat, RGB_BPTC_SIGNED_Format, RGB_BPTC_UNSIGNED_Format, RGB_ETC1_Format, RGB_ETC2_Format, RGB_PVRTC_2BPPV1_Format, RGB_PVRTC_4BPPV1_Format, RGB_S3TC_DXT1_Format, RGFormat, RGIntegerFormat, RawShaderMaterial, RedFormat, RedIntegerFormat, ReinhardToneMapping, RepeatWrapping, ReverseSubtractEquation, SIGNED_R11_EAC_Format, SIGNED_RED_GREEN_RGTC2_Format, SIGNED_RED_RGTC1_Format, SIGNED_RG11_EAC_Format, SRGBColorSpace, SRGBTransfer, ShaderChunk, ShaderLib, ShaderMaterial, ShortType, SrcAlphaFactor, SrcAlphaSaturateFactor, SrcColorFactor, SubtractEquation, SubtractiveBlending, TangentSpaceNormalMap, Texture, Uint16BufferAttribute, Uint32BufferAttribute, UniformsLib, UniformsUtils, UnsignedByteType, UnsignedInt101111Type, UnsignedInt248Type, UnsignedInt5999Type, UnsignedIntType, UnsignedShort4444Type, UnsignedShort5551Type, UnsignedShortType, VSMShadowMap, Vector2, Vector3, Vector4, WebGLCoordinateSystem, WebGLCubeRenderTarget, WebGLRenderTarget, WebGLRenderer, WebGLUtils, WebXRController, ZeroFactor, createCanvasElement, error, log, warn, warnOnce };
19717
+ export { ACESFilmicToneMapping, AddEquation, AddOperation, AdditiveBlending, AgXToneMapping, AlphaFormat, AlwaysCompare, AlwaysDepth, ArrayCamera, BackSide, BoxGeometry, BufferAttribute, BufferGeometry, ByteType, CineonToneMapping, ClampToEdgeWrapping, Color, ColorManagement, ConstantAlphaFactor, ConstantColorFactor, CubeCamera, CubeDepthTexture, CubeReflectionMapping, CubeRefractionMapping, CubeTexture, CubeUVReflectionMapping, CullFaceBack, CullFaceFront, CullFaceNone, CustomBlending, CustomToneMapping, Data3DTexture, DataArrayTexture, DataTexture, DepthFormat, DepthStencilFormat, DepthTexture, DoubleSide, DstAlphaFactor, DstColorFactor, EqualCompare, EqualDepth, EquirectangularReflectionMapping, EquirectangularRefractionMapping, EventDispatcher, ExternalTexture, Float32BufferAttribute, FloatType, FrontSide, Frustum, GLSL3, GreaterCompare, GreaterDepth, GreaterEqualCompare, GreaterEqualDepth, HalfFloatType, IntType, Layers, LessCompare, LessDepth, LessEqualCompare, LessEqualDepth, LinearFilter, LinearMipmapLinearFilter, LinearMipmapNearestFilter, LinearSRGBColorSpace, LinearToneMapping, LinearTransfer, Matrix3, Matrix4, MaxEquation, Mesh, MeshBasicMaterial, MeshDepthMaterial, MeshDistanceMaterial, MinEquation, MirroredRepeatWrapping, MixOperation, MultiplyBlending, MultiplyOperation, NearestFilter, NearestMipmapLinearFilter, NearestMipmapNearestFilter, NeutralToneMapping, NeverCompare, NeverDepth, NoBlending, NoColorSpace, NoToneMapping, NormalBlending, NotEqualCompare, NotEqualDepth, ObjectSpaceNormalMap, OneFactor, OneMinusConstantAlphaFactor, OneMinusConstantColorFactor, OneMinusDstAlphaFactor, OneMinusDstColorFactor, OneMinusSrcAlphaFactor, OneMinusSrcColorFactor, OrthographicCamera, PCFShadowMap, PCFSoftShadowMap, PMREMGenerator, PerspectiveCamera, Plane, PlaneGeometry, ProfilerService, R11_EAC_Format, RED_GREEN_RGTC2_Format, RED_RGTC1_Format, REVISION, RG11_EAC_Format, RGBAFormat, RGBAIntegerFormat, RGBA_ASTC_10x10_Format, RGBA_ASTC_10x5_Format, RGBA_ASTC_10x6_Format, RGBA_ASTC_10x8_Format, RGBA_ASTC_12x10_Format, RGBA_ASTC_12x12_Format, RGBA_ASTC_4x4_Format, RGBA_ASTC_5x4_Format, RGBA_ASTC_5x5_Format, RGBA_ASTC_6x5_Format, RGBA_ASTC_6x6_Format, RGBA_ASTC_8x5_Format, RGBA_ASTC_8x6_Format, RGBA_ASTC_8x8_Format, RGBA_BPTC_Format, RGBA_ETC2_EAC_Format, RGBA_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGBA_S3TC_DXT1_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT5_Format, RGBFormat, RGB_BPTC_SIGNED_Format, RGB_BPTC_UNSIGNED_Format, RGB_ETC1_Format, RGB_ETC2_Format, RGB_PVRTC_2BPPV1_Format, RGB_PVRTC_4BPPV1_Format, RGB_S3TC_DXT1_Format, RGFormat, RGIntegerFormat, RawShaderMaterial, RedFormat, RedIntegerFormat, ReinhardToneMapping, RepeatWrapping, ReverseSubtractEquation, SIGNED_R11_EAC_Format, SIGNED_RED_GREEN_RGTC2_Format, SIGNED_RED_RGTC1_Format, SIGNED_RG11_EAC_Format, SRGBColorSpace, SRGBTransfer, ShaderChunk, ShaderLib, ShaderMaterial, ShortType, SrcAlphaFactor, SrcAlphaSaturateFactor, SrcColorFactor, SubtractEquation, SubtractiveBlending, TangentSpaceNormalMap, Texture, Uint16BufferAttribute, Uint32BufferAttribute, UniformsLib, UniformsUtils, UnsignedByteType, UnsignedInt101111Type, UnsignedInt248Type, UnsignedInt5999Type, UnsignedIntType, UnsignedShort4444Type, UnsignedShort5551Type, UnsignedShortType, VSMShadowMap, Vector2, Vector3, Vector4, WebGLCoordinateSystem, WebGLCubeRenderTarget, WebGLRenderTarget, WebGLRenderer, WebGLUtils, WebXRController, ZeroFactor, createCanvasElement, error, log, warn, warnOnce };