Capítulo 144 de 859

Chapter 144: RectAreaLightUniformsLib

Core Idea

This class is only relevant when using RectAreaLight with WebGLRenderer.

Before rect area lights can be used, the internal uniform library of the renderer must be enhanced with the following code.

Code Examples

RectAreaLightUniformsLib.init();
  • What it demonstrates: Typical usage of RectAreaLightUniformsLib.

Key Takeaways

  1. RectAreaLightUniformsLib has no documented properties/methods beyond what's shown above — check the source link for implementation details.

Connects To