Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSL: Improve fog approach. #1443

Merged
merged 9 commits into from
Dec 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update three.js
  • Loading branch information
Methuselah96 committed Dec 15, 2024
commit 32c1e9eb90b1832df97a1de0ed7d50c44d0c9ee4
2 changes: 1 addition & 1 deletion three.js
Submodule three.js updated 77 files
+13 −0 .eslintrc.json
+53 −4 build/three.cjs
+24 −2 build/three.core.js
+29 −2 build/three.module.js
+1 −1 build/three.module.min.js
+999 −117 build/three.webgpu.js
+1 −1 build/three.webgpu.min.js
+999 −117 build/three.webgpu.nodes.js
+1 −1 build/three.webgpu.nodes.min.js
+ examples/screenshots/webgpu_shadowmap_opacity.jpg
+2 −2 examples/webgpu_custom_fog_background.html
+2 −2 examples/webgpu_lights_phong.html
+2 −2 examples/webgpu_lights_selective.html
+0 −1 examples/webgpu_particles.html
+2 −2 examples/webgpu_sprites.html
+2 −0 src/Three.TSL.js
+18 −2 src/cameras/PerspectiveCamera.js
+20 −0 src/extras/PMREMGenerator.js
+6 −0 src/extras/TextureUtils.js
+7 −1 src/materials/nodes/NodeMaterial.js
+0 −5 src/nodes/Nodes.js
+1 −3 src/nodes/TSL.js
+2 −2 src/nodes/accessors/InstanceNode.js
+1 −1 src/nodes/code/ExpressionNode.js
+1 −1 src/nodes/core/IndexNode.js
+4 −1 src/nodes/core/Node.js
+5 −5 src/nodes/core/NodeBuilder.js
+1 −1 src/nodes/core/NodeCache.js
+4 −4 src/nodes/core/NodeFrame.js
+6 −0 src/nodes/core/ParameterNode.js
+4 −3 src/nodes/core/TempNode.js
+1 −1 src/nodes/display/NormalMapNode.js
+0 −1 src/nodes/display/ScreenNode.js
+1 −1 src/nodes/display/ToonOutlinePassNode.js
+88 −0 src/nodes/fog/Fog.js
+0 −60 src/nodes/fog/FogExp2Node.js
+0 −91 src/nodes/fog/FogNode.js
+0 −67 src/nodes/fog/FogRangeNode.js
+2 −2 src/nodes/functions/BasicLightingModel.js
+4 −4 src/nodes/functions/PhysicalLightingModel.js
+1 −1 src/nodes/functions/ShadowMaskModel.js
+1 −0 src/nodes/geometry/RangeNode.js
+17 −0 src/nodes/lighting/AONode.js
+10 −0 src/nodes/lighting/AmbientLightNode.js
+88 −3 src/nodes/lighting/AnalyticLightNode.js
+19 −0 src/nodes/lighting/BasicEnvironmentNode.js
+17 −0 src/nodes/lighting/BasicLightMapNode.js
+10 −0 src/nodes/lighting/DirectionalLightNode.js
+18 −0 src/nodes/lighting/EnvironmentNode.js
+31 −0 src/nodes/lighting/HemisphereLightNode.js
+11 −0 src/nodes/lighting/IESSpotLightNode.js
+17 −0 src/nodes/lighting/IrradianceNode.js
+20 −0 src/nodes/lighting/LightProbeNode.js
+12 −0 src/nodes/lighting/LightUtils.js
+48 −0 src/nodes/lighting/LightingContextNode.js
+15 −6 src/nodes/lighting/LightingNode.js
+32 −1 src/nodes/lighting/PointLightNode.js
+44 −6 src/nodes/lighting/RectAreaLightNode.js
+1 −2 src/nodes/lighting/ShadowNode.js
+43 −0 src/nodes/lighting/SpotLightNode.js
+7 −7 src/nodes/pmrem/PMREMNode.js
+43 −0 src/nodes/utils/FunctionOverloadingNode.js
+1 −1 src/nodes/utils/LoopNode.js
+1 −1 src/nodes/utils/MaxMipLevelNode.js
+4 −4 src/nodes/utils/Oscillators.js
+1 −1 src/nodes/utils/Packing.js
+1 −1 src/nodes/utils/RTTNode.js
+2 −2 src/nodes/utils/ReflectorNode.js
+1 −1 src/nodes/utils/RemapNode.js
+1 −1 src/nodes/utils/SplitNode.js
+2 −1 src/nodes/utils/StorageArrayElementNode.js
+1 −0 src/renderers/common/Renderer.js
+21 −0 src/renderers/common/extras/PMREMGenerator.js
+15 −15 src/renderers/common/nodes/Nodes.js
+1 −1 src/renderers/webgpu/utils/WebGPUAttributeUtils.js
+1 −1 src/renderers/webxr/WebXRDepthSensing.js
+4 −0 src/renderers/webxr/WebXRManager.js
Loading