Sfoglia il codice sorgente

LightProbeGrid: Improve docs. (#33426)

Michael Herzog 2 mesi fa
parent
commit
a7e4ed5e10
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      examples/jsm/lighting/LightProbeGrid.js

+ 3 - 0
examples/jsm/lighting/LightProbeGrid.js

@@ -55,6 +55,9 @@ const ATLAS_PADDING = 1;
  * A 3D grid of L2 Spherical Harmonic irradiance probes that provides
  * A 3D grid of L2 Spherical Harmonic irradiance probes that provides
  * position-dependent diffuse global illumination.
  * position-dependent diffuse global illumination.
  *
  *
+ * Note that this class can only be used with {@link WebGLRenderer}.
+ * A version for {@link WebGPURenderer} will be added at a later point.
+ *
  * All seven packed SH sub-volumes are stored in a **single** RGBA
  * All seven packed SH sub-volumes are stored in a **single** RGBA
  * `WebGL3DRenderTarget` using a texture-atlas layout along the Z axis.
  * `WebGL3DRenderTarget` using a texture-atlas layout along the Z axis.
  * Each sub-volume occupies `( nz + 2 )` atlas slices: one padding slice at
  * Each sub-volume occupies `( nz + 2 )` atlas slices: one padding slice at

粤ICP备19079148号