1. 26 Jul, 2024 3 commits
  2. 25 Jul, 2024 1 commit
  3. 24 Jul, 2024 1 commit
    • Bruno Simon's avatar
      Examples: Add galaxy (#28955) · e241101b
      Bruno Simon authored
      * Examples: Add galaxy
      
      * update screenshot
      
      * Examples: Rename TSL Galaxy and use THREE core materials
      
      * Examples: TSL Galaxy fix screenshot
      
      * update screenshot
      
      * Examples: TSL Galaxy fix pow on negative
      
      ---------
      e241101b
  4. 18 Jul, 2024 2 commits
  5. 17 Jul, 2024 1 commit
  6. 15 Jul, 2024 1 commit
    • Christian Helgeson's avatar
      Nodes: Add PixelationNode (#28802) · 83bffe69
      Christian Helgeson authored
      
      * sketched out draft of pixelation pass.
      
      * Have normal and depth edges working
      
      * Pixel size modifier
      
      * playing with render targets
      
      * fix renderTarget issue
      
      * auto-mrt version of pixelation
      
      * cleanup
      
      * remove any outside tests, logs, and changes
      
      * screenshot and cleanup
      
      * more cleanup
      
      * differentiate lighting from webgl version and modify to remove lighting errors
      
      * final lighting adjustment
      
      * Revert lighting
      
      * bring back directionToColor
      
      * fix screenshot
      
      * filtering fix
      
      * fix normalView and add new screenshot
      
      * normalzie uvNodeNormal
      
      * remove unused directionToColor import, floor widtth and height of resolution, change uniform naming to match other uniforms, fix comment spacing in updateBefore
      
      * replace single expression tslFn function
      
      * update lowerResolutionMaterial, remove unnecessary const color assignment
      
      * revert to pixelationPass approach
      
      * fix lint issue, ignore puppeteer test for now
      
      * Update webgpu_postprocessing_pixel.html
      
      ---------
      Co-authored-by: default avatarMichael Herzog <michael.herzog@human-interactive.org>
      83bffe69
  7. 12 Jul, 2024 1 commit
  8. 11 Jul, 2024 1 commit
    • Michael Herzog's avatar
      Nodes: Add `GTAONode`. (#28844) · 3230889e
      Michael Herzog authored
      
      * Nodes: Add `GTAONode`.
      
      * GTAONode: Clean up.
      
      * set derivative_uniformity diagnostic to off
      
      * GTAONode: Add internal pass with correct clear color.
      
      * Clean up.
      
      * GTAONode: Couple of fixes.
      
      * GTAONode: Clean up.
      
      * GTAONode: Fix loop.
      
      * GTAONode: Fix normal buffer values.
      
      * GTAONode: Use correct camera.
      
      * GTAONode: Use `positionView`.
      
      * GTAONode: Use `transformedNormalView`.
      
      * Clean up.
      
      * GTAONode: Add multiple fixes.
      
      * GTANode: More fixes.
      
      * GTAONode: Use `vec4` in `getSceneUvAndDepth()`.
      
      * GTAONode: Fix assignment of `ao`.
      
      * GTAONode: Attempt to fix `getSceneUvAndDepth()`.
      
      * GTAONode: Fix y-sampling.
      
      * E2E: Update screenshot.
      
      * Examples: Add back color space conversion.
      
      * E2E: Add example to exception list.
      
      ---------
      Co-authored-by: default avatarsunag <sunagbrasil@gmail.com>
      3230889e
  9. 10 Jul, 2024 2 commits
    • MJurczyk's avatar
      Examples: Add UltraHDRLoader (#28825) · 06521980
      MJurczyk authored
      * Add UltraHDRLoader
      
      * Add UltraHDRLoader example
      Adjust files.json
      Add 2K hdr.jpg texture
      
      * Change URL validation to equivalent hdrgm:Version param validation
      
      * Add docs screenshot
      
      * Adjust for DeepScan
      
      * Add THREE.FloatType support
      
      * Return pending DataTexture directly from .load
      
      * Deprecate hdrjpg example
      
      * Adjust code to precalculate values where feasible
      Adjust for DeepScan
      06521980
    • sunag's avatar
      WebGPURenderer: Auto-MRT (#28833) · 0edacaa6
      sunag authored
      * added mrt
      
      * update using mrt
      
      * cleanup
      
      * cleanup
      
      * cleanup
      
      * update
      
      * build
      
      * fix normalWorld name
      
      * fix background if used MRT
      
      * fix copyFramebufferToTexture() if used MRT
      
      * TSL: added emissive
      
      * rename texturePass to passTexture
      
      * added mrt support
      
      * add mrt example
      
      * cleanup
      
      * cleanup
      
      * description
      
      * remove setMRT from PP
      
      * update examples
      
      * fix depth texture node
      
      * improve material.mrtNode support
      
      * update backdrop tone mapping
      
      * add mrt mask example
      
      * optimize
      
      * optimize textures
      0edacaa6
  10. 06 Jul, 2024 1 commit
  11. 01 Jul, 2024 2 commits
  12. 30 Jun, 2024 1 commit
  13. 28 Jun, 2024 1 commit
  14. 25 Jun, 2024 1 commit
    • Michael Herzog's avatar
      Addons: Add `DepthOfFieldNode`. (#28740) · 4feb1372
      Michael Herzog authored
      * Addons: Add `DepthOfFieldNode`.
      
      * DepthOfFieldNode: Fix runtime error.
      
      * E2E: Update screenshot.
      
      * Examples: Align code to previous demo.
      
      * Examples: Use instancing in DOF demo.
      4feb1372
  15. 24 Jun, 2024 1 commit
  16. 20 Jun, 2024 1 commit
    • Hunter Larco's avatar
      support all texture formats and types in `DataTextureArray.setLayerUpdate` and... · 9c00c1c1
      Hunter Larco authored
      support all texture formats and types in `DataTextureArray.setLayerUpdate` and `CompressedTextureArray.setLayerUpdate` (#28654)
      
      * create TextureUtils
      
      * docs
      
      * use tabs instead of spaces
      
      * fix lint
      
      * use a byte view
      
      * remove typo
      
      * ensure the unit8array adheres to the byteLength of the input data source
      
      * add example
      
      * update screenshot
      
      * fix indentation
      
      * convert more spaces to tabs
      
      * generate screenshot
      
      * generate screenshot
      
      * test increase debounce and render in interval instead of loop
      
      * cleanup example
      
      * preserve parity between type and typedarray constructor
      
      * remove dependency on setInterval
      
      * update screenshot
      
      ---------
      Co-authored-by: default avatarRenaud Rohlinger <renaud.rohlinger@gmail.com>
      9c00c1c1
  17. 11 Jun, 2024 2 commits
    • Christian Helgeson's avatar
      Examples: WebGPU WGSL/TSL Node Interoperability (#28379) · d2c12dfe
      Christian Helgeson authored
      * Got a wgsl shader generally working. Need to start small before working up
      
      * Fixed bugs and errors
      
      * Finished draft of wgsl tsl node interoperability example, which demonstrates how to use the same node variables across both wgsl and tsl version of the same shader, as well as demonstrating how to use varying attributes in both wgsl and tsl shaders
      
      * Renamed file, ran eslint, created screenshot
      
      * fix path in files.json
      
      * remove screenshot button
      
      * Fix screenshot
      
      * Added example to exception list due to persistent issue with screenshots
      
      * Remove unused imports
      
      * offset wgsl upper shader and tsl lower shader to create single image
      
      * ran linter again
      
      * attempt style fix
      
      * vscode convert indentation to tabs
      
      * fix indentation in files.json and puppeteer.js
      
      * Added uniforms that better clue user into the use of two separate shaders using the same uniforms, removed black line between quads, fixed cellOffset issue
      
      * fix screenshot
      
      * cleanup
      
      ---------
      d2c12dfe
    • aardgoose's avatar
      WebGPURenderer: RectAreaLight support (#28580) · 2f335437
      aardgoose authored
      
      * WebGPURenderer: RectAreaLight support
      
      * detect float32 texture filetring support
      
      * cache runtime availbility checks
      
      * remove testing code
      
      * update screenshot
      
      * excude from test
      
      ---------
      Co-authored-by: default avataraardgoose <angus.sawyer@email.com>
      2f335437
  18. 01 Jun, 2024 1 commit
  19. 31 May, 2024 1 commit
  20. 23 May, 2024 1 commit
    • Renaud Rohlinger's avatar
      WebGPURenderer: RenderBundle (#28347) · 82b78e71
      Renaud Rohlinger authored
      
      * wip
      
      * add demo
      
      * add gpu metrics
      
      * fix bundeType condition
      
      * cleanup
      
      * refactor and cleanup
      
      * support postprocess and multisample
      
      * update
      
      * cache and pbr on bundle example
      
      * wip static mode
      
      * update
      
      * update
      
      * revert shared
      
      * ci
      
      * circular dep
      
      * move the logic to the renderContext
      
      * add screenshot for ci
      
      * cleanup
      
      * new RenderBundle API
      
      * TODO: Need to handle FBO too
      
      * cleanup
      
      * more cleanup
      
      * fix deepscan
      
      * fix framebuffer
      
      * update example
      
      * update scene too
      
      * reuse correct scene for update matrices
      
      * introduce renderBundle.needsUpdate and rename to private _renderBundle()
      
      * cleanup
      
      * improve example
      
      * fix capsule constructor
      
      * remove confusing gui in example
      
      * Adding RenderBundles and Group.static
      
      ---------
      Co-authored-by: default avatarsunag <sunagbrasil@gmail.com>
      82b78e71
  21. 21 May, 2024 1 commit
  22. 20 May, 2024 1 commit
  23. 03 May, 2024 2 commits
  24. 01 May, 2024 1 commit
  25. 25 Apr, 2024 1 commit
    • Spiri0's avatar
      Examples: Added `webgpu_multiple_rendertargets_readback` (#28211) · 2182dc30
      Spiri0 authored
      
      * Add new example and update files.json
      
      * Update files.json
      
      I removed the .html at the end of "webgpu_mrt_readback.html",
      now:
      "webgpu_mrt_readback",
      
      * Update webgpu_mrt_readback.html
      
      better code. Previously, new instances were constantly being created, which was unnecessary and inefficient.
      
      * Update webgpu_mrt_readback.html
      
      Now no new instances are created during the update, only data is updated as it should be
      
      * Update webgpu_mrt_readback.html
      
      Now no new instances are created during the update, only data is updated as it should be
      
      * Update webgpu_mrt_readback.html
      
      Now no new instances are created during the update, only data is updated as it should be
      
      * Update webgpu_mrt_readback.html
      
      corrected formatting and strict comparison
      
      * Update webgpu_mrt_readback.html
      
      corrected formatting and strict comparison
      
      * Update webgpu_mrt_readback.html
      
      corrected formatting and strict comparison
      
      * Update webgpu_mrt_readback.html
      
      corrected formatting and strict comparison
      
      * reuse texture() node
      
      * revision
      
      * cleanup
      
      * cleanup
      
      * cleanup
      
      * added info
      
      * rename webgpu_mrt_readback -> webgpu_multiple_rendertargets_readback
      
      * add tags
      
      ---------
      Co-authored-by: default avatarsunag <sunagbrasil@gmail.com>
      2182dc30
  26. 24 Apr, 2024 1 commit
  27. 20 Apr, 2024 1 commit
  28. 18 Apr, 2024 1 commit
  29. 12 Apr, 2024 1 commit
    • sunag's avatar
      WebGPURenderer: Transmission - Backdrop 3/3 (#27880) · 500f4522
      sunag authored
      * WebGPURenderer: Apply fog before tonemapping and encoding
      
      * TSL: Add `rendererReference`
      
      * PassNode: Add `getViewZNode()`
      
      * FogNode: Add `.getViewZNode()`, removed `mixAssign()`
      
      * TSL: Add `toneMappingExposure`
      
      * PostProcessing: Add `.renderAsync()`
      
      * Add `webgpu_custom_fog_background` example
      
      * cleanup
      
      * cleanup
      
      * improve description
      
      * update example
      
      * Transmission - WIP
      
      * rename
      
      * Revert
      
      * Introduce singleViewportMipTexture for tests and revisions
      
      * revision
      
      * cleanup
      
      * fix circular deps
      
      * update screenshot `webgpu_skinning`
      
      * revision
      
      * copyFramebufferToTexture(): Added support for multisampling
      
      * revision
      
      * revision
      
      * revision
      
      * cleanup
      
      * Fix faceDirection in WebGLBackend if used BackSide
      
      * Added frontFaceCW
      
      * Added webgpu_materials_transmission
      
      * cleanup
      
      * update
      
      * revision
      
      * update webgpu_skinning
      
      * revision getVolumeTransmissionRay
      
      * revision
      
      * revision
      
      * revision
      
      * update screenshot
      
      * cleanup
      
      * update `webgpu_loader_gltf_anisotropy` example
      
      * cleanup
      
      * Update webgpu_compute_geometry.jpg
      
      * update screenshots
      
      * add material.*Node transmission properties
      500f4522
  30. 10 Apr, 2024 1 commit
    • sunag's avatar
      WebGPURenderer: Anisotropy (#28106) · d3698616
      sunag authored
      * Node: Added .onReference()
      
      * TSL: Anisotropy properties
      
      * TSL: transformedBentNormalView
      
      * TSL: `defined()`
      
      * PhysicalLightingModel: Anisotropy
      
      * Added `webgpu_loader_gltf_anisotropy` example
      d3698616
  31. 05 Apr, 2024 1 commit
  32. 03 Apr, 2024 1 commit
  33. 02 Apr, 2024 1 commit