v0.3.1
变更日志
- 特性:为
TextureBase
添加userData
属性 - 特性:为
DirectionalLightShadow.frustumEdgeFalloff
添加垂直淡出支持 - 特性:为
Matrix3
添加isIdentity
方法 - 特性:为
Renderer
添加asyncReadPixel
选项 - 特性:为
MathUtils
添加lerp
方法 - 修复:解决
CylinderGeometry
中设置多个高度分段缺失三角形的问题 - 修复:当一个盖子的半径为零时,移除
CylinderGeometry
中的共线三角形 - 性能:在
DirectionalLightShadow
渲染期间启用相机剔除 - 重构:同步阴影相机与光源的up方向
- 重构:优化
getPointShadow
方法 - 文档:为
Geometry.instanceCount
添加描述性注释 - 特性(addons):添加数学类
OBB
- 特性(addons):在
GLTFLoader
中添加对KHR_animation_pointer
的支持 - 特性(addons):在
GLTFLoader
中为纹理添加mimeType
信息 - 特性(addons):添加
GLTFExporter
- 特性(addons):在
GLTFExporter
中添加对GLTF_SEPARATE
格式的支持 - 特性(addons):在
GLTFExporter
中添加实例化和光照扩展 - 特性(addons):在
GLTFExporter
中添加draco
选项 - 特性(addons):添加
DRACOExporter
- 特性(addons):引入新的
LightShadowAdapter
- 特性(addons):添加
InstancedMaterial.js
文件,整合所有实例化材质扩展 - 特性(addons):引入
AttenuationMaterial
,整合衰减材质扩展 - 特性(addons):引入
LatheBuilder
- 修复(addons):修正
HeatmapGenerator
和IDWMapGenerator
的dispose
方法 - 修复(addons):当相机在包围盒内时,修正
LightShadowAdapter
中的阴影盒计算 - 修复(addons):修正
TransformControls
中相机处于极端位置时的轴平面位置计算错误 - 重构(addons):将
LightShadowAdapter.bindBox
从Box3
改为OBB
- 重构(addons):移除
Timer
和Clock
中对Date.now()
的兼容性回退 - 特性(examples):添加
material_shader_volume_layered
示例 - 特性(examples):在
geometry_geometries
中添加TorusBuilder
- 重构(examples):清理代码
Changelog
- feat: add
userData
property toTextureBase
- feat: add vertical fade support to
DirectionalLightShadow.frustumEdgeFalloff
- feat: add
isIdentity
method toMatrix3
- feat: add
asyncReadPixel
option toRenderer
- feat: add
lerp
method toMathUtils
- fix: resolve missing triangles issue with multiple height segments in
CylinderGeometry
- fix: remove collinear triangles in
CylinderGeometry
when one cap radius is zero - perf: enable camera culling during DirectionalLightShadow rendering
- refactor: synchronize shadow camera orientation with light source
- refactor: optimize
getPointShadow
method - docs: add descriptive comment for
Geometry.instanceCount
- feat(addons): add
OBB
- feat(addons): add support for
KHR_animation_pointer
inGLTFLoader
- feat(addons): add
mimeType
information to textures inGLTFLoader
- feat(addons): add
GLTFExporter
- feat(addons): add support for
GLTF_SEPARATE
format inGLTFExporter
- feat(addons): add instancing and light extensions to
GLTFExporter
- feat(addons): add
draco
option toGLTFExporter
- feat(addons): add
DRACOExporter
- feat(addons): introduce
LightShadowAdapter
- feat(addons): add
InstancedMaterial.js
- feat(addons): introduce
AttenuationMaterial
- feat(addons): introduce
LatheBuilder
- fix(addons): correct dispose methods for
HeatmapGenerator
andIDWMapGenerator
- fix(addons): correct shadow box calculation in
LightShadowAdapter
when camera is inside Box - fix(addons): correct axis plane position calculation bug in
TransformControls
when the camera is in extreme positions - refactor(addons): change
LightShadowAdapter.bindBox
fromBox3
toOBB
- refactor(addons): drop fallback to
Date.now()
inTimer
andClock
- feat(examples): add
material_shader_volume_layered
example - feat(examples): add
TorusBuilder
ingeometry_geometries
- refactor(examples): cleanup
Full Changelog: v0.3.0...v0.3.1