I understand you're looking for information about the differences between two modules with the same name in the Three.js codebase: src/core/UniformsGroup.js
and src/renderers/common/UniformsGroup.js
.
Based on the context available, I don't have specific information about these particular modules and their differences. The documentation I have access to covers the main shader-related utilities in Three.js, which include:
- ShaderChunk
- ShaderLib
- UniformsLib
- UniformsUtils
However, there's no specific mention of UniformsGroup
in the documentation I can reference.
For this specific question about internal code structure differences, you might want to:
- Examine the source code of both files to understand their implementations
- Check if one is being deprecated in favor of the other
- Look at the Three.js GitHub repository issues or pull requests that might discuss these modules
- Ask in the Three.js community forums or Discord where core contributors might provide insights
If you're working with uniforms in Three.js, the documented APIs like UniformsLib and UniformsUtils would be the recommended approach as they're officially supported and documented.