v0.2.8
变更日志
- 特性:在
Scene
中新增envDiffuseIntensity
和envSpecularIntensity
属性并标记environmentLightIntensity
为弃用 - 特性:为
Plane
添加静态方法intersectPlanes
- 修复:修正
TextureCube
的mipmap上传 - 重构:优化envMap参数的uniform上传
- 特性(addons):在将对象添加到
VirtualGroup
时检查子父关系 - 特性(addons):引入
EnvLoader
和EnvTextureCubeLoader
- 特性(addons):添加一些额外的纹理加载器
- 修复(addons):修正
InfiniteGridShader
中的变换计算 - 修复(addons):修正正交相机下的分簇照明渲染
- 修复(addons):修正
GLTFLoader
中的重复纹理的问题 - 修复(addons):解决
ViewControls
中的初始渲染问题 - 修复(addons):修正
KTX2Loader
中的ZSTD
解码 - 修复(addons):在
TransformControls
中将acos
参数限制在[-1, 1]以防止NaN - 性能(addons):
GLTFLoader
在Safari >= 17
时使用ImageBitmapLoader
加载图片 - 重构(addons):增强
TransformControls
中的平移交互体验 - 特性(示例):添加
material_alphahash
示例 - 特性(示例):添加
custompass_xray
示例 - 重构(示例):在
animation_skinned_instancing
的GUI中添加Instance Count
滑块 - 重构(示例):重新组织和分类与纹理相关的示例
Changelog
- feat: add
envDiffuseIntensity
andenvSpecularIntensity
attributes inScene
while deprecatingenvironmentLightIntensity
- feat: add static method
intersectPlanes
toPlane
class - fix: correct mipmap uploading for
TextureCube
- refactor: optimize uniform uploading for envMap parameters
- feat(addons): check child-parent relationship when adding object to 'VirtualGroup'
- feat(addons): introduce
EnvLoader
andEnvTextureCubeLoader
- feat(addons): add additional texture loaders
- fix(addons): correct transform in
InfiniteGridShader
- fix(addons): correct clustered lighting for orthographic cameras
- fix(addons): prevent duplicate textures in
GLTFLoader
- fix(addons): resolve initial rendering issue in
ViewControls
- fix(addons): correct ZSTD decoding in
KTX2Loader
- fix(addons): clamp acos parameter to [-1, 1] to prevent NaN in
TransformControls
- perf(addons): use
ImageBitmapLoader
inGLTFLoader
for Safari >= 17 - refactor(addons): enhance interactive experience for translating in
TransformControls
- feat(examples): add
material_alphahash
example - feat(examples): add
custompass_xray
example - refactor(examples): add
Instance Count
slider toanimation_skinned_instancing
GUI - refactor(examples): reorganize and classify texture-related examples
Full Changelog: v0.2.7...v0.2.8