Releases: three-types/three-ts-types
Releases · three-types/three-ts-types
r169
What's Changed
- Lock file maintenance by @renovate in #1221
- #1222-DRACOLoader.d.ts-add-parse-function by @Adamatoma in #1223
- WebGPURenderer: Added basic three.webgpu.nodes.js by @Methuselah96 in #1225
- WebGPURenderer: add BundleGroup by @Methuselah96 in #1226
- Augment Scene with Node parameters by @Methuselah96 in #1227
- fix: Quaternion fromArray and toArray signatures by @mattrossman in #1230
- WebGPURenderer: Fix Material Arrays and Geometry Groups by @Methuselah96 in #1232
- Checkout DefinitelyTyped faster by @Methuselah96 in #1233
- Nodes: Introduce static type by @Methuselah96 in #1234
- TSL: Export color space, tone mapping methods by @Methuselah96 in #1235
- Addons: Remove SDFGeometryGenerator. by @Methuselah96 in #1236
- WebGPURenderer: sort bind groups and minimise setBindGroup() commands by @Methuselah96 in #1237
- WebGLRenderer: Remove deprecated BufferAttribute.updateRange() and InterleavedBuffer.updateRange(). by @Methuselah96 in #1238
- LightProbeHelper: Add WebGPU version. by @Methuselah96 in #1239
- WebGPURenderer: Compute modelViewMatrix using GPU by @Methuselah96 in #1240
- EXRExporter: Add support for WebGPURenderer. by @Methuselah96 in #1241
- WebGPURenderer: Use world space normal approach by @Methuselah96 in #1242
- KTX2Exporter: Add support for WebGPURenderer. by @Methuselah96 in #1243
- WebGPURenderer: Add cube face to readRenderTargetPixelsAsync parameters by @Methuselah96 in #1244
- WebGPURenderer: Add support for VSM. by @Methuselah96 in #1245
- Addons: Remove GPUStatsPanel. by @Methuselah96 in #1246
- ShadowMapViewer: Add WebGPU version. by @Methuselah96 in #1247
- Examples: add webgpu_animation_retargeting by @Methuselah96 in #1248
- TSL: Introduce screenUV, screenSize, screenCoordinate and viewport revision by @Methuselah96 in #1249
- WebGPURenderer: extract common draw call logic from backends by @Methuselah96 in #1250
- Examples: Add webgpu_tonemapping.html by @Methuselah96 in #1251
- Controls: Add null as default parameter for domElement. by @Methuselah96 in #1252
- TextureUtils: Add WebGPU version. by @Methuselah96 in #1253
- Addons.js: Remove WebGPU modules. by @Methuselah96 in #1254
- LightProbeGenerator: adapt for WebGPU compatibility by @Methuselah96 in #1255
- Addons: Remove PackedPhongMaterial. by @Methuselah96 in #1256
- Docs: Document the examples/jsm/lines components. by @Methuselah96 in #1257
- Audio: Add delay parameter to stop(). by @Methuselah96 in #1258
- LOD: Add removeLevel(). by @Methuselah96 in #1259
- TSL: Add workingToColorSpace, colorSpaceToWorking by @Methuselah96 in #1260
- TransformControls: Derive from Controls. by @Methuselah96 in #1261
- TransformControls: Rename getGizmo() to getHelper(). by @Methuselah96 in #1262
- WebGPURenderer: Introduce NodeMaterialObserver and updates by @Methuselah96 in #1263
- BatchedMesh setGeometryIdAt getGeometryIdAt by @Methuselah96 in #1264
- SkeletonUtils: added hipInfluence by @Methuselah96 in #1265
- WebGPURenderer: WebGL fallback, use shared UBOs for common uniform groups by @Methuselah96 in #1266
- SkeletonUtils: added trim by @Methuselah96 in #1267
- Examples: Retargeting animation - mixamo to readyplayer.me by @Methuselah96 in #1268
- WebGPURenderer: copyFrameBufferTexture() rectangle parameter added by @Methuselah96 in #1269
- Raycaster: Add barycoord to intersection result, make attribution interpolation more convenient. by @Methuselah96 in #1270
- BatchedMesh: add deleteInstance() by @Methuselah96 in #1271
- Lensflare: Add WebGPU version. by @Methuselah96 in #1272
- WebGLRenderer: add reverse-z via EXT_clip_control by @CodyJasonBennett in #1231
- WebGLProgram: add USE_REVERSEDEPTHBUF define by @Methuselah96 in #1273
- Fix running tests locally by @Methuselah96 in #1274
- RenderObject: Introduce getGeometryCacheKey() by @Methuselah96 in #1275
- CurveModifier: Add WebGPU version. by @Methuselah96 in #1276
- BatchedMesh: Add getGeometryRangeAt by @Methuselah96 in #1277
- WebGPURenderer: Introduce hash-based cache key by @Methuselah96 in #1278
- ToonOutlinePassNode: Add FX pass for toon outlines. by @Methuselah96 in #1279
- Update three.js by @Methuselah96 in #1280
- Addons: Remove TiltLoader. by @Methuselah96 in #1281
- Update three.js by @Methuselah96 in #1282
New Contributors
- @Adamatoma made their first contribution in #1223
Full Changelog: r168...r169
r168
What's Changed
- BREAKING CHANGE Unknown events can no longer be dispatched in
EventDispatcher
. Define an event map as the first type parameter toEventDispatcher
to declare known events. (#1145) - Add missing type-only exports by @Methuselah96 in #1131
- Improve Matrix toArray typings by @Methuselah96 in #1132
- StackNode:
elseIf
->elseif
by @linbingquan in #1134 - ShaderNode:
If
returnStackNode
by @linbingquan in #1135 - Update all non-major dependencies by @renovate in #1137
- Lock file maintenance by @renovate in #1138
- fix: add
WebXRManager
exports back by @asyncore in #1140 - add an option for stencil buffer in SSAARenderPass by @gdu041 in #1141
- Add remaining missing type exports by @Methuselah96 in #1144
- KTX2Loader: Add parse() method for direct buffer processing. by @Methuselah96 in #1148
- Examples > Add VFX flames by @Methuselah96 in #1149
- WebGPURenderer: Add webgpu_shadowmap_opacity by @Methuselah96 in #1150
- Examples > Add coffee smoke by @Methuselah96 in #1151
- TSL: Add spherizeUV by @Methuselah96 in #1152
- Nodes: Rename uniforms() to uniformArray(). by @Methuselah96 in #1153
- Nodes: Add SepiaNode by @Methuselah96 in #1154
- UniformArrayNode: Add uniforms() fallback. by @Methuselah96 in #1155
- SepiaNode: Clean up by @Methuselah96 in #1156
- WebGPURenderer: Add debug.getRawShaderAsync(). by @Methuselah96 in #1157
- WebGPURenderer: Rename .getRawShaderAsync() to .getShaderAsync() by @Methuselah96 in #1158
- TSL: Introduce billboarding() by @Methuselah96 in #1159
- Nodes: Ensure that setBindGroup matches with @group in the shader. by @Methuselah96 in #1160
- Sky: Add WebGPURenderer version. by @Methuselah96 in #1161
- Water: Add WebGPURenderer version. by @Methuselah96 in #1162
- TSL: Introduce viewportSafeUV() by @Methuselah96 in #1163
- Water2: Add WebGPURenderer version. by @Methuselah96 in #1164
- Addons: Rename SkyGPU and WaterGPU. by @Methuselah96 in #1166
- NodeMaterial: Use materialReference() for env maps. by @Methuselah96 in #1167
- RoomEnvironment: Remove obsolete renderer parameter. by @Methuselah96 in #1168
- Material: Add onBeforeRender() back. by @Methuselah96 in #1169
- Nodes: Bleach Node by @Methuselah96 in #1170
- WebGLProperties.has by @Methuselah96 in #1171
- StackNode: Rename
if
->If
,else
->Else
,elseif
->ElseIf
by @linbingquan in #1146 - TSL: Flow control function names revision by @Methuselah96 in #1172
- Add missing WebGPURenderer parameters by @Methuselah96 in #1173
- WebGPURenderer: Support for access previous frame textures using pass() by @Methuselah96 in #1174
- Nodes: Add LightProbeNode. by @Methuselah96 in #1175
- Nodes: Add CubeMapNode. by @Methuselah96 in #1176
- Examples: Add Performance Comparison for WebGL and WebGPU Renderers by @Methuselah96 in #1177
- DragControls: Refactor API. by @Methuselah96 in #1178
- SSAARender: Add property to control the stencil buffer. by @Methuselah96 in #1179
- PointerLockControls: Derive from Controls. by @Methuselah96 in #1180
- Nodes: Add VelocityNode and MotionBlurNode. by @Methuselah96 in #1181
- FlyControls: Derive from Controls. by @Methuselah96 in #1182
- FirstPersonControls: Derive from Controls. by @Methuselah96 in #1183
- ArcballControls: Derive from Controls. by @Methuselah96 in #1184
- Nodes: Rename remainder() to modInt(). by @Methuselah96 in #1185
- ViewportDepthNode: Fix material.depthNode=depth assign by @Methuselah96 in #1186
- Nodes: Add SSAAPassNode. by @Methuselah96 in #1187
- TrackballControls: Derive from Controls. by @Methuselah96 in #1188
- Effects: Use FullScreenQuad. by @Methuselah96 in #1189
- Nodes: Remove keywords by @Methuselah96 in #1190
- ContextNode: Rename .context -> .value by @Methuselah96 in #1191
- Controls: Move into core. by @Methuselah96 in #1192
- OrbitControls: Derive from Controls. by @Methuselah96 in #1193
- MaterialX: Fix mx_hsvtorgb and brick_procedural example by @Methuselah96 in #1194
- WebGPURenderer: New normal nodes approach by @Methuselah96 in #1195
- WebGL: Deprecate isWebGLAvailable() and getWebGLErrorMessage(). by @Methuselah96 in #1196
- WebGPU Renderer: cache GPUBindGroupLayouts by @Methuselah96 in #1197
- Nodes: Add StereoPassNode. by @Methuselah96 in #1198
- Nodes: Update DotScreenNode, ColorAdjustmentNode, BlendModeNode by @Methuselah96 in #1199
- Nodes: Add anaglyph and parallax barrier pass nodes. by @Methuselah96 in #1200
- WebGPURenderer: BatchedMesh colors support by @Methuselah96 in #1201
- Nodes: StereoCompositePassNode.js by @Methuselah96 in #1202
- TSL: Rename viewportTopLeft -> viewportUV by @Methuselah96 in #1203
- WebGPURenderer: Reduce bindingGroup creation for data texture content updates. by @Methuselah96 in #1204
- WebGPURenderer: Update Packing, Hash, Discard by @Methuselah96 in #1205
- WebGPURenderer: Get fallback approach by @Methuselah96 in #1206
- Nodes: IndexNode - invocationLocalIndex by @Methuselah96 in #1207
- TSL: Prevent viewportBottomLeft breaking change and cleanup by @Methuselah96 in #1208
- OutlinePass: Improve performance of VisibilityChangeCallBack(). by @Methuselah96 in #1209
- WebGPURenderer: Improve clippingContext cachekey by @Methuselah96 in #1210
- Update examples by @Methuselah96 in #1211
- WebGPURenderer: Tree-shaking 1/2 by @Methuselah96 in #1212
- Object3D: Fix onBeforeShadow and onAfterShadow by @vanruesc in #1213
- Removed LogLuvLoader by @Methuselah96 in #1214
- ViewportNode: Clean up by @Methuselah96 in #1215
- TSL: Color Space revision by @Methuselah96 in #1216
- Nodes: InstancedPointsNodeMaterial - Add pointWidthNode by @Methuselah96 in #1217
- WebGPURenderer: Tree-shaking 1/2 - revision by @Methuselah96 in #1218
- TSL: New color space name functions by @Methuselah96 in #1219
- Update three.js for testing by @Methuselah96 in #1220
- Remove loosely-typed event listener m...
r167
What's Changed
- BREAKING CHANGE The
Matrix
interface was removed in #1124. Use a type union (e.g.,Matrix3 | Matrix4
) instead or create your ownMatrix
interface. - Update dependency prettier to ^3.3.3 by @renovate in #1065
- Update dependency dprint to ^0.47.2 by @renovate in #1066
- Lock file maintenance by @renovate in #1067
- Three json by @Hoodgail in #426
- Delete files in testing by @Methuselah96 in #1069
- Update Material type definitions: Add MaterialJSON format by @Hoodgail in #1072
- Add ShapeJSON support to Object3D and Shape types by @Hoodgail in #1073
- WebGPURenderer: BatchMesh support for Instanced rendering by @Methuselah96 in #1074
- TSL: Nodes - Add missing export by @Methuselah96 in #1076
- Examples: Add webgpu_refraction. by @Methuselah96 in #1077
- Update Three.d.ts by @Methuselah96 in #1079
- Fix THREE imports and CSMFrustum export by @Methuselah96 in #1081
- Add type checking by @Methuselah96 in #1082
- WebGPURenderer: Build - three.webgpu.js by @Methuselah96 in #1078
- MathNode: Add rand(). by @Methuselah96 in #1083
- Node: Add FilmNode. by @Methuselah96 in #1084
- TSL: Update DoF node and example by @Methuselah96 in #1085
- Add scripts to automate updating examples and src by @Methuselah96 in #1086
- TSL: Introduce node.toTexture() and rtt() by @Methuselah96 in #1087
- Nodes: Simplify effect nodes. by @Methuselah96 in #1088
- Node: Add Lut3DNode. by @Methuselah96 in #1089
- TextureNode: Add biasNode. by @Methuselah96 in #1090
- TSL: Introduce renderOutput() by @Methuselah96 in #1091
- TSL: Added texture.bias( value ) syntax by @Methuselah96 in #1092
- Shaders: Improve Packing by @Methuselah96 in #1093
- Renderer: Move quad out of module scope. by @Methuselah96 in #1094
- WebGPURenderer: Support MSAA with Postprocessing by @Methuselah96 in #1095
- TSL: Share context between RTT by @Methuselah96 in #1096
- MeshBasicNodeMaterial: Refactor env map support. by @Methuselah96 in #1097
- NodeMaterial: Honor lightMapIntensity. by @Methuselah96 in #1098
- NodeMaterial: Honor aoMapIntensity. by @Methuselah96 in #1099
- Examples: Improve the slider in the wide gamut example by @Methuselah96 in #1100
- LightingModel: Refactor indirect lighting by @Methuselah96 in #1101
- CubeTextureNode: Support CubeRefractionMapping. by @Methuselah96 in #1102
- MeshBasicNodeMaterial: Add lightMap support. by @Methuselah96 in #1103
- WebGPURenderer: Auto-MRT by @Methuselah96 in #1104
- Examples: Add UltraHDRLoader by @Methuselah96 in #1105
- Nodes: Add GTAONode. by @Methuselah96 in #1106
- GTAONode: Implement composite. by @Methuselah96 in #1107
- Examples: Make AO demo more configurable. by @Methuselah96 in #1108
- Nodes: Add FXAANode. by @Methuselah96 in #1109
- Nodes: Add PixelationNode by @Methuselah96 in #1110
- Nodes: Add DenoiseNode. by @Methuselah96 in #1111
- GTAONode: Bring getTextureNode() back. by @Methuselah96 in #1112
- Examples: Improve AO demo. by @Methuselah96 in #1113
- WebGPURenderer: Remove deprecated Node.construct() method. by @Methuselah96 in #1114
- Nodes: Add BloomNode. by @Methuselah96 in #1115
- ColorManagement: Add .getLuminanceCoefficients by @Methuselah96 in #1116
- WebGPURenderer: Introduce renderer.transparent and renderer.opaque by @Methuselah96 in #1117
- Nodes: Add TransitionNode. by @Methuselah96 in #1118
- MRTNode: Remove support to array and added getNode() by @Methuselah96 in #1119
- WebGPURenderer: Add bloom emissive/selective examples by @Methuselah96 in #1120
- fix: NodeMaterial, add missing
.fog
and.lights
by @0b5vr in #1121 - fix: expose addNodeMaterial and createNodeMaterialFromType by @0b5vr in #1122
- Core: Add Matrix2 class by @Methuselah96 in #1124
- WebGPURenderer: Add PCFShadowMap support. by @Methuselah96 in #1125
- NodeMaterial: Add setupOutgoingLight(). by @Methuselah96 in #1126
- Nodes: Cache linear depth and viewZ of depth textures in PassNode by @Methuselah96 in #1127
- Update examples by @Methuselah96 in #1128
- Update three.js by @Methuselah96 in #1129
- Fix Matrix2 tuple by @Methuselah96 in #1130
Full Changelog: r166...r167
r166
What's Changed
- Update all non-major dependencies by @renovate in #1008
- Lock file maintenance by @renovate in #1009
- WebGPURenderer: Add class declarations for SampledTexture and NodeSampledTexture by @cmhhelgeson in #1011
- WebGPURenderer: Add class declarations for Sampler and NodeSampler classes. by @cmhhelgeson in #1012
- LineMaterialParameters: extends ShaderMaterialParameters not MaterialParameters by @puxiao in #1013
- Upgrade pnpm by @Methuselah96 in #1015
- WebGPURenderer: Add WGSL Node Parsing and Building Types by @cmhhelgeson in #1016
- Add access to WebXR depth texture + add example by @Methuselah96 in #1018
- Fix imports by @Methuselah96 in #1019
- TSL: add transpose() function by @Methuselah96 in #1020
- Remove dead files by @Methuselah96 in #1022
- BatchedMesh: Add support for Instanced rendering by @Methuselah96 in #1021
- Fix type of
CompressedTexture.mipmaps
by @HunterLarco in #1024 - Strongly type Texture.mipmaps by @Methuselah96 in #1025
- TSL: Fix label() usage in uniform() by @Methuselah96 in #1023
- Add XR depth sensing example by @Methuselah96 in #1026
- TSL: Introduce Node.updateAfter by @Methuselah96 in #1027
- Vector4.setFromMatrixPosition by @Methuselah96 in #1028
- WebGPURenderer: PostProcessing - Introduce .needsUpdate=true by @Methuselah96 in #1029
- LightShadow: Add intensity. by @Methuselah96 in #1030
- TSL: Add Return Expression by @Methuselah96 in #1031
- TSL: Introduces cache hierarchy by @Methuselah96 in #1032
- Add RGBIntegerFormat constant by @Methuselah96 in #1033
- WebGPURenderer: RectAreaLight support by @Methuselah96 in #1034
- Update examples by @Methuselah96 in #1035
- Add missing return type by @Methuselah96 in #1036
- Add parseAsync to GLTFExporter doc by @Methuselah96 in #1037
- WebGPURenderer: Enhance GLSL Error in WebGLBackend by @Methuselah96 in #1038
- TeapotGeometry: Add Documentation by @Methuselah96 in #1039
- TSL: UniformNode Support Int/Uint by @Methuselah96 in #1040
- WebGPURenderer: Revision texture filtering and rain example by @Methuselah96 in #1041
- WebGPURenderer: Fix uniform update tests by @Methuselah96 in #1042
- WebGPURenderer: Update attribute only when needed by @Methuselah96 in #1043
- WebGPURenderer: optimize interleaved buffer update by @Methuselah96 in #1044
- Material: Remove obsolete callbacks. by @Methuselah96 in #1045
- Add TextureUtils by @Methuselah96 in #1046
- TSL: Update MaterialX library by @Methuselah96 in #1047
- ViewHelper: Make label text and style configurable. by @Methuselah96 in #1048
- TextureUtils: Add contain(), cover() and fill(). by @Methuselah96 in #1049
- Fix: ShapeUtils is a class by @Methuselah96 in #1051
- Fix precision typo by @Methuselah96 in #1052
- WebGPURenderer: Introduce Bind Groups by @Methuselah96 in #1053
- GLTFLoader: GLTFParser.assignTexture () is missing the colorSpace parameter, the return value is incorrect. by @IvanLi-CN in #1050
- TSL: Depth nodes revision by @Methuselah96 in #1054
- WebGPURenderer: Bind groups cache per renderer by @Methuselah96 in #1055
- Node: Add SobelOperatorNode. by @Methuselah96 in #1056
- TSL: PassNode - Revision linearDepth property by @Methuselah96 in #1057
- Node: Add DepthOfFieldNode. by @Methuselah96 in #1058
- Examples: Using node approach - webgpu_postprocessing_dof by @Methuselah96 in #1059
- WebGPURenderer: Read/Write Only Storage Buffer Creation by @Methuselah96 in #1060
- WebGPURenderer: Improve performance tracking logic for better accuracy by @Methuselah96 in #1061
- Docs: Improve Material page. by @Methuselah96 in #1062
- Node: Add DotScreenNode and RGBShiftNode. by @Methuselah96 in #1063
- Fix tests by @Methuselah96 in #1064
New Contributors
- @HunterLarco made their first contribution in #1024
- @IvanLi-CN made their first contribution in #1050
Full Changelog: r165...r166
r165
What's Changed
- Update all non-major dependencies by @renovate in #927
- Lock file maintenance by @renovate in #928
- GLTFLoader add ktx2Loader and meshoptDecoder fields by @marwie in #926
- Use MeshoptDecoder type by @Methuselah96 in #930
- Fix Nodes storage types by @Methuselah96 in #931
- Add If function by @Methuselah96 in #933
- Make o property optional on font glyphs by @Methuselah96 in #934
- Implement *Assign by @Methuselah96 in #937
- Check formatting for examples by @Methuselah96 in #939
- USDZExporter: Add ar and includeAnchoringProperties options by @vincentfretin in #938
- Added types for UniformGroupNode and UniformGroup, and created type d… by @cmhhelgeson in #940
- Add missing mode argument for TransformControls.d.ts events by @s-rigaud in #941
- Docs: Improve SceneUtils page. by @Methuselah96 in #944
- Update examples by @Methuselah96 in #945
- Update examples by @Methuselah96 in #946
- Update examples by @Methuselah96 in #947
- Update examples by @Methuselah96 in #948
- Update examples by @Methuselah96 in #949
- WebGPURenderer: MeshMatcapNodeMaterial by @Methuselah96 in #950
- WebGPURenderer: MeshToonNodeMaterial by @Methuselah96 in #951
- support updating only dirty CompressedArrayTexture layers by @Methuselah96 in #952
- LoaderUtils: Deprecate decodeText(). by @Methuselah96 in #953
- KeyframeTrack: Improve docs and subtype ctors. by @Methuselah96 in #954
- WebGLRenderer: Add "readRenderTargetPixelsAsync" function by @Methuselah96 in #955
- WebGLRenderer: Enable subframe upload in copyTextureToTexture, align API to 3d version by @Methuselah96 in #956
- WebGLRenderer: Add initRenderTarget(). by @Methuselah96 in #957
- Docs: Add WebGLRenderer.initRenderTarget docs by @Methuselah96 in #958
- WebGPURenderer: copyTextureToTexture subframe upload and new API by @Methuselah96 in #959
- WebGLRenderer: Update copyFramebufferToTexture function signature by @Methuselah96 in #960
- TSL: Adding toType conversion by @Methuselah96 in #961
- WebGPURenderer: NodeMaterial extends Material by @Methuselah96 in #962
- WebGPURenderer: Export texturePass node by @Methuselah96 in #963
- LDrawLoader should accepts onError callback in parse() by @Methuselah96 in #964
- BatchedMesh: add getColorAt and setColorAt by @Methuselah96 in #965
- TSL: AttributeNode .defaultNode as defaultValue by @Methuselah96 in #966
- TSL: VaryingNode support for setup() by @Methuselah96 in #967
- TSL: NormalNode - Improve tree shaking using TSL by @Methuselah96 in #968
- TSL: TangentNode and BitangentNode - Improve tree shaking using TSL by @Methuselah96 in #969
- TSL: Introduce modelWorldMatrixInverse by @cmhhelgeson in #970
- fix spelling of TextGeometryParameters.height jsdoc deprecated by @Methuselah96 in #971
- TSL: CameraNode - Move to TSL approach by @Methuselah96 in #972
- TSL: Node - Introduce getElementType() by @Methuselah96 in #973
- WebGPURenderer: Introduce dispersion by @Methuselah96 in #974
- Document InstancedMesh multi-material support. by @Methuselah96 in #975
- WebGPURenderer: support using 3d textures by @Methuselah96 in #976
- Add initial TSL patch testing by @Methuselah96 in #977
- Update examples by @Methuselah96 in #978
- Update WebGLRenderer.html by @Methuselah96 in #979
- WebGLRenderer: Remove deprecated WebGLRenderer.useLegacyLights by @Methuselah96 in #980
- Type more examples/jsm by @Methuselah96 in #981
- Copy built declaration files by @Methuselah96 in #982
- More examples/jsm updates by @Methuselah96 in #983
- Use built Node.d.ts by @Methuselah96 in #984
- Start work on renderer types by @Methuselah96 in #985
- Flesh out renderer types by @Methuselah96 in #986
- Check built declaration files in CI by @Methuselah96 in #987
- Use more built declarations by @Methuselah96 in #988
- Use built RenderList and RenderLists by @Methuselah96 in #989
- Use built RenderBundle and RenderBundles by @Methuselah96 in #990
- Add built ClippingContext and RenderContext by @Methuselah96 in #991
- Update more types by @Methuselah96 in #992
- Add Nodes.d.ts by @Methuselah96 in #993
- Add Animation and Background by @Methuselah96 in #994
- Add more files by @Methuselah96 in #995
- Add more types by @Methuselah96 in #996
- Use more built declarations by @Methuselah96 in #997
- WebGPURenderer: Export texture3D by @Methuselah96 in #998
- TSL: Introduce .toGlobal by @Methuselah96 in #999
- TSL: PositionNode/ReflectVectorNode - Move to TSL approach by @Methuselah96 in #1000
- TSL: UVNode - Move to TSL approach by @Methuselah96 in #1001
- docs: Add EdgeSplitModifier docs by @Methuselah96 in #1002
- Update built declaration files by @Methuselah96 in #1003
- WebGLRenderer: Fix WebXR depth sensing. by @Methuselah96 in #1004
- Update examples by @Methuselah96 in #1005
- docs: add docs for the Sky object instance by @Methuselah96 in #1006
- Update examples by @Methuselah96 in #1007
New Contributors
- @vincentfretin made their first contribution in #938
- @cmhhelgeson made their first contribution in #940
- @s-rigaud made their first contribution in #941
Full Changelog: r164...r165
r164
What's Changed
- Lock file maintenance by @renovate in #889
- feat: Support the latest MaterialNode exports as of r163 by @0b5vr in #890
- WebGLCapabilities: add textureTypeReadable() and textureFormatReadable() by @sguimmara in #891
- feat (Nodes): more
tslFn
related typings by @0b5vr in #744 - SelectionBox: add instance property by @edsunman in #892
- WebGPURenderer: Add textureGrad support by @Methuselah96 in #894
- USDZExporter: Rename parse to parseAsync by @Methuselah96 in #895
- MeshPhysicalMaterial: Add dispersion. by @Methuselah96 in #896
- WebGPURenderer: Add aoNode to NodeMaterial by @Methuselah96 in #897
- Remove deprecated code. by @Methuselah96 in #898
- Update examples by @Methuselah96 in #899
- Pass onLoad callback to XRHandModelFactory and OculusHandModel by @Methuselah96 in #900
- RenderTarget: Add resolveStencilBuffer. by @Methuselah96 in #901
- WebGPURenderer: Anisotropy by @Methuselah96 in #902
- Octree: Add layers property for filtering objects. by @Methuselah96 in #903
- WebGPURenderer: Transmission - Backdrop 3/3 by @Methuselah96 in #904
- WebGPURenderer: Fix specularF90 of MeshStandardMaterial by @Methuselah96 in #905
- BatchedMesh: Add getInstanceCount/setInstanceCount methods for instanced by @Methuselah96 in #906
- Docs: Improve Object3D page. by @Methuselah96 in #907
- WebGPURenderer: Fix receiveShadow and introduce shadowPositionNode by @Methuselah96 in #908
- CCDIKSolver: Allow specifying sphere size in createHelper(). by @Methuselah96 in #909
- MeshGouraudMaterial: Remove unused lightmap_fragment chunk by @Methuselah96 in #910
- Added Jolt physics example by @Methuselah96 in #911
- WebGPURenderer: Added lightMap support by @Methuselah96 in #912
- NodeMaterial: Remove WebGLNodeBuilder by @Methuselah96 in #913
- RenderTarget: Add resolveDepthBuffer. by @Methuselah96 in #914
- Nodes: remove redundant code by @Methuselah96 in #915
- WebGPURenderer: support specularColorMap by @Methuselah96 in #916
- SceneUtils: Add generator-based traversal methods. by @Methuselah96 in #917
- Examples: Add transition effect. by @Methuselah96 in #918
- WebGPURenderer: ShadowMaterial by @Methuselah96 in #919
- WebGPURenderer: Allow specifying texture index by @Methuselah96 in #920
- Update examples by @Methuselah96 in #921
- Update examples by @Methuselah96 in #922
- Add Renderer.hasFeatureAsync by @Methuselah96 in #923
- Update examples by @Methuselah96 in #924
New Contributors
Full Changelog: r163...r164
r163
What's Changed
- Lock file maintenance by @renovate in #851
- Update fflate by @Methuselah96 in #852
- Use "module": "node16" by @Methuselah96 in #850
- Fix constant RGBAFormat description by @tchandelle in #853
- Add missing
Material.onBeforeRender
by @Methuselah96 in #856 - WebGPURenderer: PMREM by @Methuselah96 in #858
- Update OrbitControls.d.ts - Removing domElement optionality by @WORMSS in #860
- WebGLRenderer: Remove WebGL 1 support. by @Methuselah96 in #861
- WebGPURenderer: QuadMesh extended from Mesh by @Methuselah96 in #862
- WebGPURenderer: Add Timestamp Queries WebGL fallback support by @Methuselah96 in #863
- WebGPURenderer: Add copyTextureToTexture support by @Methuselah96 in #864
- Renderer: Set stencil to false by default. by @Methuselah96 in #865
- Nodes: Introduce Node.needsUpdate=true by @Methuselah96 in #866
- WebGPURenderer: Improve Infos logic by @Methuselah96 in #867
- WebGPURenderer: Apply fog before tonemapping and encoding by @Methuselah96 in #868
- Update Material.toneMapped docs by @Methuselah96 in #869
- WebGPURenderer: InstancedMesh Supports Instance Color and Morph Target by @Methuselah96 in #870
- WebGPURenderer: Support BatchMesh by @Methuselah96 in #871
- Introduce Scene.environmentIntensity by @Methuselah96 in #872
- LUTPass: Remove WebGL 1 fallback. by @Methuselah96 in #873
- THREE.TextGeometry: .height -> .depth by @Methuselah96 in #874
- WebGPURenderer: Prevent PMREM to break when missing textures by @Methuselah96 in #875
- InstancedMesh: Add clone and dispose method for morphTexture by @Methuselah96 in #876
- Texture: Introduce pmremVersion by @Methuselah96 in #877
- Add types for FontData by @Methuselah96 in #878
- Make clippingPlanes mutable by @Methuselah96 in #880
- TextureNode: Introduce referenceNode by @Methuselah96 in #881
- WebGLRenderer: Add support for WEBGL_render_shared_exponent. by @Methuselah96 in #882
- Update examples by @Methuselah96 in #883
- Add Camera.viewport for use with ArrayCamera by @Methuselah96 in #885
- BatchedMesh: delete documentation for deleteGeometry by @Methuselah96 in #886
- DataUtils: Add toRGB9E5() and fromRGB9E5(). by @Methuselah96 in #887
- Update examples by @Methuselah96 in #888
New Contributors
- @tchandelle made their first contribution in #853
- @WORMSS made their first contribution in #860
Full Changelog: r162...r163
r162
What's Changed
- BREAKING CHANGE The ambient
THREE
namespace was removed, since three.js no longer includes a UMD bundle (#843) - BREAKING CHANGE
WebGLRenderTargetOptions
was removed since it is equivalent toRenderTargetOptions
(#827) - BREAKING CHANGE
TextureEncoding
was removed since it was removed from three.js in r162 (#812) - BREAKING CHANGE
Float64BufferAttribute
was removed since it was removed from three.js in r162 (#844) - Format using dprint by @Methuselah96 in #797
- Fix PerspectiveCamera.getViewSize() by @Methuselah96 in #800
- Lock file maintenance by @renovate in #799
- Add webgpu_backdrop example to testing by @Methuselah96 in #802
- Add webgpu_backdrop_area example to testing by @Methuselah96 in #803
- Use three import for examples instead of relative file import by @Methuselah96 in #804
- Remove namespaces by @Methuselah96 in #805
- Use @tweenjs/tween.js for types by @Methuselah96 in #806
- Add webgpu_backdrop_water example by @Methuselah96 in #809
- Use ShaderNodeObject for NodeMaterial properties by @Methuselah96 in #810
- Timer: add timestamp param and FixedTimer by @vanruesc in #807
- Fix CI by @Methuselah96 in #813
- InstancedBufferAttribute: add isInstancedBufferAttribute flag by @agargaro in #814
- Core: Remove deprecated code. by @Methuselah96 in #812
- Node: Add increaseUsage() by @Methuselah96 in #815
- Nodes: Add StorageArrayElementNode by @Methuselah96 in #816
- InstancedMesh: Add support for morph targets. by @Methuselah96 in #817
- WebGPURenderer: StorageBufferNode Support reading external elements in the WebGL Backend by @Methuselah96 in #818
- Upgrade to Prettier 3 by @Methuselah96 in #819
- Replace listing all examples with listing exceptions by @Methuselah96 in #820
- Nodes: Move TBNViewMatrix to AccessorsUtils by @Methuselah96 in #821
- Nodes: Remove ArrayUniformNode by @Methuselah96 in #822
- TSL: uniforms by @Methuselah96 in #823
- Add indexNode to ReferenceNode by @Methuselah96 in #824
- Add sessionInit parameter to VRButton by @Methuselah96 in #825
- InstancedMesh.getMorphAt() + docs by @Methuselah96 in #826
- RenderTarget: Add count option for MRT. by @Methuselah96 in #827
- WebGPURenderer: support clipping by @Methuselah96 in #828
- WebGLRenderer: Add Support for Neutral Tone Mapping by @Methuselah96 in #829
- DragControls: Add rotate mode. by @Methuselah96 in #830
- TSL: parallaxUV by @Methuselah96 in #831
- Docs: Better explain bounding volumes. by @Methuselah96 in #832
- Object3D: Add childadded and childremoved events. by @Methuselah96 in #833
- Addons: Refactored InteractiveGroup. by @Methuselah96 in #834
- Docs: Document Object3D events. by @Methuselah96 in #835
- WebGPURenderer: Better skinning performance by @Methuselah96 in #836
- PMREMGenerator: Clarify image size limitations by @Methuselah96 in #837
- WebGLRenderer: Add support for rotating env maps. by @Methuselah96 in #838
- TSL: Support for split assignment by @Methuselah96 in #839
- [@type/three] Fixed import extension. by @jpremkumar in #840
- Raycaster: Added setFromXRController() by @Methuselah96 in #841
- InteractiveGroup.listToXRControllerEvents takes an XR controller by @Methuselah96 in #842
- Remove ambient namespace THREE by @Methuselah96 in #843
- Remove Float64BufferAttribute. by @Methuselah96 in #844
- TSL: all, any, equals by @Methuselah96 in #845
- WebXR: Add setPath() to XRControllerModelFactory. by @Methuselah96 in #846
- DragControls: Add support for multiple groups. by @Methuselah96 in #847
- WebGPURenderer: Added sync render()/clear() by @Methuselah96 in #848
- Update examples by @Methuselah96 in #849
New Contributors
- @agargaro made their first contribution in #814
- @jpremkumar made their first contribution in #840
Full Changelog: r161...r162
r161
What's Changed
- BREAKING CHANGE The
Vector
interface was removed in #727. Use a type union (e.g.,Vector2 | Vector3 | Vector4
) instead or create your ownVector
interface. - Remove tslint.json by @Methuselah96 in #726
- Introduce *Like interfaces by @Methuselah96 in #727
- Add Node.updateBefore() by @Methuselah96 in #730
- More nodes updates by @Methuselah96 in #731
- Fix tests by @Methuselah96 in #740
- Lock file maintenance by @renovate in #738
- WebGLPrograms: Update
fogExp2
parameter by @vanruesc in #736 - fix: Mark third argument of
materialReference
as nullable by @0b5vr in #732 - Allow null as DataArrayTexture data by @Oletus in #737
- GLTFLoaderPlugin: add constructor and required name getter by @hybridherbst in #728
- Event maps on objects by @sguimmara in #739
- fix (Nodes): fix type of
clamp
andsaturate
by @0b5vr in #733 - feat (Nodes): Improve NodeElements + tangential changes by @0b5vr in #734
- Add generic Renderer type and Color4 by @schwyzl in #741
- Add alpha to Renderer parameters by @Methuselah96 in #743
- feat (Nodes): type
tslFn
and several functions that use tslFn by @0b5vr in #735 - LUT Loaders: Add support for FloatType and add docs by @Methuselah96 in #745
- WebGPURenderer: New AfterImageNode for the PostProcessing renderer. by @Methuselah96 in #746
- Grounded skybox by @Methuselah96 in #747
- Fixed wrong type in SSAOPass constructor by @j-zarzoso in #748
- fix: Suppress double
@remarks
warning on typedoc by @0b5vr in #749 - Add VertexColorNode by @Methuselah96 in #750
- Addons.js: adds missing modules introduced since r160 by @Methuselah96 in #751
- Constants: Remove deprecated code. by @Methuselah96 in #752
- Backend.init no longer returns a promise by @Methuselah96 in #753
- BatchedMesh: bounding box functions can return null by @Methuselah96 in #754
- Add postprocessing material by @Methuselah96 in #755
- Remove deprecated code. by @Methuselah96 in #756
- Update nodes materials by @Methuselah96 in #757
- LightingModel: New class struct by @Methuselah96 in #758
- WebGPURenderer: MeshSSSPhysicalNodeMaterial by @Methuselah96 in #759
- Add MeshPhongNodeMaterial by @Methuselah96 in #760
- Add optional flag parameter to NodeBuilder.build() by @Methuselah96 in #761
- MathNode: New cbrt Function for Easy Cube Root Calculations by @Methuselah96 in #762
- Remove deprecated build files by @Methuselah96 in #763
- Docs: Improve RingGeometry page. by @Methuselah96 in #764
- Rename: MeshSSSPhysicalNodeMaterial -> MeshSSSNodeMaterial by @Methuselah96 in #765
- USDZExporter: Add maxTextureSize option. by @Methuselah96 in #766
- Nodes: RotateNode and remapping functions by @Methuselah96 in #767
- WebGPURenderer: Add Offscreen Support by @Methuselah96 in #768
- WebXR: optional onLoad callback when loading hands or controllers by @Methuselah96 in #769
- add missing compute declaration to renderer (and others) by @schwyzl in #770
- Nodes: Add lengthSq to MathNodes by @Methuselah96 in #771
- Nodes: Add missing cameraProjectionMatrixInverse to CameraNode by @Methuselah96 in #772
- add missing storage texture by @schwyzl in #773
- InterleavedBufferAttribute: Add get / set component functions by @Methuselah96 in #774
- Material: Add alpha to coverage define by @Methuselah96 in #775
- WebGPURenderer: Add forceWebGL parameter. by @Methuselah96 in #776
- PerspectiveCamera: getViewBounds(), getViewSize() by @Methuselah96 in #777
- Update examples by @Methuselah96 in #778
- Use Quaternion for type for consistency by @Methuselah96 in #779
- WebGPURenderer: TriNoise3D by @Methuselah96 in #780
- WebGPURenderer: Add timestamp queries support in WebGPU by @Methuselah96 in #781
- Volumetric NURBS by @Methuselah96 in #782
- Fix typo by @Methuselah96 in #783
- WebGPURenderer: add clearAsync() clear[color|depth|stencil]Async() by @Methuselah96 in #784
- WebGPURenderer: support mat2() and extend RotateNode to support vec2 by @Methuselah96 in #785
- WebGPURenderer: implement compileAsync() by @Methuselah96 in #786
- WebGPURenderer: ReflectorNode + Examples by @Methuselah96 in #787
- WebGPURenderer: Cleanup codebase by @Methuselah96 in #788
- WebGPURenderer: PostProcessing - Anamorphic example by @Methuselah96 in #789
- Nodes: Rename MathUtilsNode -> MathUtils by @Methuselah96 in #790
- WebGPURenderer: Add shadowNode to NodeMaterial by @Methuselah96 in #791
- WebGLRenderer: option to enable multi_draw / gl_DrawID in vertex shader by @Methuselah96 in #792
- WebGPURenderer: OperatorNode Add unary operator support by @Methuselah96 in #793
- Source: Add dataReady flag. by @Methuselah96 in #794
- Update examples by @Methuselah96 in #795
- WebXRManager: Added depth sensing support (v2). by @Methuselah96 in #796
New Contributors
- @hybridherbst made their first contribution in #728
- @j-zarzoso made their first contribution in #748
Full Changelog: r160...r161
r160
What's Changed
- BREAKING CHANGE The
Shader
type was renamed toShaderLibShader
in #719. It was never meant to be used as a general-purpose shader type and was incorrectly used as the first parameter ofMaterial.onBeforeCompile
. If using it for the first parameter ofMaterial.onBeforeCompile
, useWebGLProgramParametersWithUniforms
instead, otherwise use/create a more suitable type. - Lock file maintenance by @renovate in #698
- Add types for CompressedCubeTexture by @Methuselah96 in #700
- WebGLUniformsGroups: Support for array of Uniform Buffer Object by @Methuselah96 in #701
- Docs: Improve SkinnedMesh page. by @Methuselah96 in #702
- Fix KTX2Loader TS type to match the JS code by @svignaud in #703
- Use
this
return type forMatrix4
in-place functions by @TimJentzsch in #705 - Examples: GTAOPass - Ground Truth Ambient Occlusion by @Methuselah96 in #706
- Triangle: Return null in getBarycoord() if the triangle is degenerated. by @Methuselah96 in #707
- Triangle: Return null in getInterpolation() if triangle is degenerate. by @Methuselah96 in #708
- GTAOPass: Remove unused uniform variable and parameter. by @Methuselah96 in #709
- Examples: GTAOPass - distance dependent horizon search by @Methuselah96 in #710
- Add missing boolean readonly props to lights and materials by @michealparks in #711
- Add QuadMesh by @Methuselah96 in #712
- Add ShaderMaterial.extensions.clipCullDistance by @Methuselah96 in #713
- Add Timer by @Methuselah96 in #714
- Sphere: Add isSphere flag. by @Methuselah96 in #715
- Update examples by @Methuselah96 in #716
- WebGLRenderer: Add support for AgX Tone Mapping by @Methuselah96 in #717
- Update examples by @Methuselah96 in #718
- Nodes: Rework ShaderNodeElements and make some other refactorings by @Methuselah96 in #720
- Fix nodes imports by @Methuselah96 in #721
- Add first nodes example to testing by @Methuselah96 in #722
- Docs: Improve Material page. by @Methuselah96 in #723
- Update Shader and UniformsUtils by @vanruesc in #719
- Add more nodes examples to testing by @Methuselah96 in #724
- More nodes updates by @Methuselah96 in #725
New Contributors
- @svignaud made their first contribution in #703
- @TimJentzsch made their first contribution in #705
- @vanruesc made their first contribution in #719
Full Changelog: r159...r160