@hology/webgpu-renderer 0.1.10 → 0.1.12

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/dist/index.d.ts CHANGED
@@ -272,6 +272,7 @@ interface ExtractedSpotLight {
272
272
  shadowCameraNear: number;
273
273
  shadowCameraFar: number;
274
274
  shadowCameraFov: number;
275
+ map: Texture | null;
275
276
  }
276
277
 
277
278
  /** Camera-visible lights collected during the renderer's scene extraction. */
@@ -439,6 +440,7 @@ interface RendererSceneLightingResources {
439
440
  readonly directionalShadowView: GPUTextureView;
440
441
  readonly pointShadowView: GPUTextureView;
441
442
  readonly spotShadowView: GPUTextureView;
443
+ readonly spotLightMapView: GPUTextureView;
442
444
  }
443
445
  interface RendererCustomPassDescriptor {
444
446
  readonly name: string;
@@ -934,6 +936,10 @@ declare class WebGpuRenderer {
934
936
  private readonly cameraUniformScratch;
935
937
  private readonly temporalVisibilityUniformScratch;
936
938
  private readonly lightUniformScratch;
939
+ private spotLightMapAtlasSignature;
940
+ private spotLightMapAtlasSize;
941
+ private spotLightMapAtlasLayout;
942
+ private spotLightMapAtlasPipeline;
937
943
  private readonly csmCascadeRanges;
938
944
  private csmCascadeCount;
939
945
  private csmCascadeLights;
@@ -954,6 +960,7 @@ declare class WebGpuRenderer {
954
960
  private readonly cameraFrustumPlanesScratch;
955
961
  private readonly objectTraversalStackScratch;
956
962
  private readonly isSphereVisibleScratch;
963
+ private readonly isSphereVisibleForCompilationScratch;
957
964
  private readonly updateExtractedBoundsFromMatrixScratch;
958
965
  private readonly transparentSortCameraPositionScratch;
959
966
  private readonly transparentSortCameraForwardScratch;
@@ -1236,6 +1243,7 @@ declare class WebGpuRenderer {
1236
1243
  private updateTemporalVisibilityUniforms;
1237
1244
  private commitTemporalHiZHistory;
1238
1245
  private updateLightUniforms;
1246
+ private updateSpotLightMapAtlas;
1239
1247
  private writeShadowCameraBuffer;
1240
1248
  }
1241
1249