Skip to content

Migrate to TSL - #781

Draft
TheJeran wants to merge 46 commits into
mainfrom
jp/TSL
Draft

TheJeran wants to merge 46 commits into
mainfrom
jp/TSL

Conversation

@TheJeran

@TheJeran TheJeran commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

This is a migration of all shader and rendering logic over to TSL.

Current check list

closes #433

Tests

  • Test on WebGL backend
  • Disable WebGPU and test
  • Test on multiple texturearrays
  • reproject
  • irregular grids
  • borders for reproject
  • borders for irregular grids
  • borders for reproject of irregular grids
  • bivariate working in all modes
  • sphere
  • flat
  • dda
  • raymarch
  • point
  • sphereblocks
  • flatblocks
  • bivariate isolate adjustment in all modes
  • sphere
  • flat
  • dda
  • raymarch
  • point
  • sphereblocks
  • flatblocks

Few more things to check

  • When reprojected, disable on sphereBlocks. Currently producing as many cubes as reprojected resolution
  • PC doesn't work with bivariate
  • PC doesn't work with f16
  • Doublecheck the reprojected country borders textures

Last to-dos

  • Seperate webgl/webgpu function list for transfer functions
  • [ ]

…counts. However, need to work on how those are dynamically updated
… to check regridding/irregular grids. 2D textures also working. But getting maximum length of function vec3() type when 2D
…ry that never needs to be disposed... I think
…es to not use storage buffers for WebGL compatibility. tweaked 360 borders on volumetrics. May need to double check that. I believe we are almost completely done
…nto why the volumetrics don't work there. I'm guessing its the mutating values in functions. Might need structs.
…e tomorrow. Also countryborders don't reproject properly on anoms dataset as textures. And borders as lines still show entire extent. Don't cop. Check if Fn or JS Fn. Might not be updating.
… was never being updated. Fixed DDA borders not working for smaller datasets and reprojection.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert GLSL to TSL

1 participant