Skip to content

Conversation

@RenaudRohlinger
Copy link
Collaborator

Description
Fix cameraPosition, cameraNormal, cameraWorldMatrix and introduce cameraViewport for ArrayCamera.

This contribution is funded by Utsubo

@RenaudRohlinger RenaudRohlinger added this to the r180 milestone Aug 10, 2025
@github-actions
Copy link

github-actions bot commented Aug 10, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.9
79.1
338.9
79.1
+0 B
+0 B
WebGPU 568.98
157.29
570.29
157.49
+1.31 kB
+199 B
WebGPU Nodes 567.59
157.04
568.9
157.24
+1.31 kB
+201 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 470.64
113.87
470.64
113.87
+0 B
+0 B
WebGPU 642.68
173.82
643.13
173.9
+440 B
+71 B
WebGPU Nodes 597.33
163.1
597.34
163.12
+10 B
+14 B

@RenaudRohlinger RenaudRohlinger added the TSL Three.js Shading Language label Aug 10, 2025
@sunag sunag changed the title TSL: Improve TSL camera array support and introduce cameraViewport TSL: Improve TSL camera array support and introduce cameraViewport Aug 10, 2025
@sunag sunag changed the title TSL: Improve TSL camera array support and introduce cameraViewport TSL: Improve camera array support and introduce cameraViewport Aug 10, 2025
@sunag sunag merged commit dfb14d3 into mrdoob:dev Aug 12, 2025
9 checks passed
export const bufferAttribute = TSL.bufferAttribute;
export const bumpMap = TSL.bumpMap;
export const burn = TSL.burn;
export const builtin = TSL.builtin;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't exported from TSL.js? Should it be?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TSL Three.js Shading Language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants