@luma.gl/shadertools 9.0.10 → 9.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist.dev.js +5890 -5309
- package/dist/dist.min.js +81 -79
- package/dist/index.cjs +361 -3099
- package/dist/index.cjs.map +4 -4
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -4
- package/dist/lib/preprocessor/preprocessor.d.ts +5 -0
- package/dist/lib/preprocessor/preprocessor.d.ts.map +1 -0
- package/dist/lib/preprocessor/preprocessor.js +26 -0
- package/dist/lib/shader-assembler.d.ts +4 -5
- package/dist/lib/shader-assembler.d.ts.map +1 -1
- package/dist/lib/shader-assembler.js +21 -16
- package/dist/lib/shader-assembly/assemble-shaders.d.ts +28 -22
- package/dist/lib/shader-assembly/assemble-shaders.d.ts.map +1 -1
- package/dist/lib/shader-assembly/assemble-shaders.js +8 -28
- package/dist/lib/shader-module/shader-module.d.ts +2 -0
- package/dist/lib/shader-module/shader-module.d.ts.map +1 -1
- package/dist/lib/shader-module/shader-module.js +12 -1
- package/dist/lib/wgsl/get-shader-layout-wgsl.js +5 -5
- package/dist/modules/engine/picking/picking.d.ts +26 -2
- package/dist/modules/engine/picking/picking.d.ts.map +1 -1
- package/dist/modules/engine/picking/picking.js +4 -2
- package/dist/modules/engine/project/project.d.ts +14 -2
- package/dist/modules/engine/project/project.d.ts.map +1 -1
- package/dist/modules/lighting/gouraud-material/gouraud-material.d.ts +52 -2
- package/dist/modules/lighting/gouraud-material/gouraud-material.d.ts.map +1 -1
- package/dist/modules/lighting/gouraud-material/gouraud-material.js +1 -1
- package/dist/modules/lighting/lights/lighting.d.ts +82 -0
- package/dist/modules/lighting/lights/lighting.d.ts.map +1 -0
- package/dist/modules/lighting/lights/{lighting-uniforms.js → lighting.js} +7 -7
- package/dist/modules/lighting/no-material/dirlight.d.ts +17 -2
- package/dist/modules/lighting/no-material/dirlight.d.ts.map +1 -1
- package/dist/modules/lighting/no-material/dirlight.js +2 -0
- package/dist/modules/lighting/pbr-material/pbr-material.d.ts +102 -3
- package/dist/modules/lighting/pbr-material/pbr-material.d.ts.map +1 -1
- package/dist/modules/lighting/pbr-material/pbr-material.js +1 -1
- package/dist/modules/lighting/phong-material/phong-material.d.ts +54 -2
- package/dist/modules/lighting/phong-material/phong-material.d.ts.map +1 -1
- package/dist/modules/lighting/phong-material/phong-material.js +3 -1
- package/dist/modules/math/fp16/fp16-utils.d.ts +13 -0
- package/dist/modules/math/fp16/fp16-utils.d.ts.map +1 -0
- package/dist/modules/math/fp16/fp16-utils.js +116 -0
- package/dist/modules/math/fp64/fp64-utils.d.ts.map +1 -0
- package/dist/modules/math/random/random.d.ts +2 -2
- package/dist/modules/math/random/random.d.ts.map +1 -1
- package/dist/modules/postprocessing/fxaa/fxaa.d.ts +9 -2
- package/dist/modules/postprocessing/fxaa/fxaa.d.ts.map +1 -1
- package/dist/modules/postprocessing/fxaa/fxaa.js +2 -1
- package/dist/modules/postprocessing/image-adjust-filters/brightnesscontrast.d.ts +25 -2
- package/dist/modules/postprocessing/image-adjust-filters/brightnesscontrast.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-adjust-filters/denoise.d.ts +20 -2
- package/dist/modules/postprocessing/image-adjust-filters/denoise.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-adjust-filters/huesaturation.d.ts +23 -2
- package/dist/modules/postprocessing/image-adjust-filters/huesaturation.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-adjust-filters/noise.d.ts +17 -2
- package/dist/modules/postprocessing/image-adjust-filters/noise.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-adjust-filters/sepia.d.ts +17 -2
- package/dist/modules/postprocessing/image-adjust-filters/sepia.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-adjust-filters/vibrance.d.ts +14 -2
- package/dist/modules/postprocessing/image-adjust-filters/vibrance.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-adjust-filters/vignette.d.ts +23 -2
- package/dist/modules/postprocessing/image-adjust-filters/vignette.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-blur-filters/tiltshift.d.ts +48 -2
- package/dist/modules/postprocessing/image-blur-filters/tiltshift.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-blur-filters/tiltshift.js +1 -1
- package/dist/modules/postprocessing/image-blur-filters/triangleblur.d.ts +34 -2
- package/dist/modules/postprocessing/image-blur-filters/triangleblur.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-blur-filters/zoomblur.d.ts +25 -2
- package/dist/modules/postprocessing/image-blur-filters/zoomblur.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-fun-filters/colorhalftone.d.ts +28 -2
- package/dist/modules/postprocessing/image-fun-filters/colorhalftone.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-fun-filters/dotscreen.d.ts +28 -2
- package/dist/modules/postprocessing/image-fun-filters/dotscreen.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-fun-filters/edgework.d.ts +30 -2
- package/dist/modules/postprocessing/image-fun-filters/edgework.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-fun-filters/hexagonalpixelate.d.ts +23 -2
- package/dist/modules/postprocessing/image-fun-filters/hexagonalpixelate.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-fun-filters/ink.d.ts +17 -2
- package/dist/modules/postprocessing/image-fun-filters/ink.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-fun-filters/magnify.d.ts +25 -2
- package/dist/modules/postprocessing/image-fun-filters/magnify.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-warp-filters/bulgepinch.d.ts +32 -2
- package/dist/modules/postprocessing/image-warp-filters/bulgepinch.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-warp-filters/bulgepinch.js +1 -1
- package/dist/modules/postprocessing/image-warp-filters/swirl.d.ts +32 -2
- package/dist/modules/postprocessing/image-warp-filters/swirl.d.ts.map +1 -1
- package/dist/modules/postprocessing/image-warp-filters/swirl.js +1 -1
- package/dist/modules/postprocessing/image-warp-filters/warp.d.ts +5 -2
- package/dist/modules/postprocessing/image-warp-filters/warp.d.ts.map +1 -1
- package/dist/modules-webgl1/lighting/pbr/pbr.d.ts +1 -0
- package/dist/modules-webgl1/lighting/pbr/pbr.d.ts.map +1 -1
- package/dist/modules-webgl1/lighting/pbr/pbr.js +2 -1
- package/dist/modules-webgl1/math/fp64/fp64.d.ts +1 -1
- package/dist/modules-webgl1/math/fp64/fp64.d.ts.map +1 -1
- package/dist/modules-webgl1/math/fp64/fp64.js +1 -1
- package/dist/modules-webgl1/project/project.d.ts +7 -2
- package/dist/modules-webgl1/project/project.d.ts.map +1 -1
- package/dist/modules-webgl1/project/project.js +1 -1
- package/package.json +5 -4
- package/src/index.ts +8 -6
- package/src/lib/preprocessor/preprocessor.ts +31 -0
- package/src/lib/shader-assembler.ts +24 -18
- package/src/lib/shader-assembly/assemble-shaders.ts +34 -41
- package/src/lib/shader-module/shader-module-instance.ts +1 -1
- package/src/lib/shader-module/shader-module.ts +14 -0
- package/src/lib/wgsl/get-shader-layout-wgsl.ts +5 -5
- package/src/modules/engine/picking/picking.ts +6 -4
- package/src/modules/engine/project/project.ts +2 -2
- package/src/modules/lighting/gouraud-material/gouraud-material.ts +3 -3
- package/src/modules/lighting/lights/{lighting-uniforms.ts → lighting.ts} +10 -11
- package/src/modules/lighting/no-material/dirlight.ts +4 -2
- package/src/modules/lighting/pbr-material/pbr-material.ts +5 -4
- package/src/modules/lighting/phong-material/phong-material.ts +5 -3
- package/src/modules/math/fp16/fp16-utils.ts +155 -0
- package/src/modules/math/random/random.ts +2 -1
- package/src/modules/postprocessing/fxaa/fxaa.ts +4 -3
- package/src/modules/postprocessing/image-adjust-filters/brightnesscontrast.ts +2 -2
- package/src/modules/postprocessing/image-adjust-filters/denoise.ts +2 -2
- package/src/modules/postprocessing/image-adjust-filters/huesaturation.ts +2 -2
- package/src/modules/postprocessing/image-adjust-filters/noise.ts +2 -2
- package/src/modules/postprocessing/image-adjust-filters/sepia.ts +2 -2
- package/src/modules/postprocessing/image-adjust-filters/vibrance.ts +2 -2
- package/src/modules/postprocessing/image-adjust-filters/vignette.ts +2 -2
- package/src/modules/postprocessing/image-blur-filters/tiltshift.ts +3 -3
- package/src/modules/postprocessing/image-blur-filters/triangleblur.ts +2 -2
- package/src/modules/postprocessing/image-blur-filters/zoomblur.ts +2 -2
- package/src/modules/postprocessing/image-fun-filters/colorhalftone.ts +2 -2
- package/src/modules/postprocessing/image-fun-filters/dotscreen.ts +2 -2
- package/src/modules/postprocessing/image-fun-filters/edgework.ts +2 -2
- package/src/modules/postprocessing/image-fun-filters/hexagonalpixelate.ts +2 -2
- package/src/modules/postprocessing/image-fun-filters/ink.ts +2 -2
- package/src/modules/postprocessing/image-fun-filters/magnify.ts +2 -2
- package/src/modules/postprocessing/image-warp-filters/bulgepinch.ts +3 -3
- package/src/modules/postprocessing/image-warp-filters/swirl.ts +3 -3
- package/src/modules/postprocessing/image-warp-filters/warp.ts +2 -2
- package/src/modules-webgl1/lighting/pbr/pbr.ts +2 -1
- package/src/modules-webgl1/math/fp64/fp64.ts +1 -1
- package/src/modules-webgl1/project/project.ts +3 -3
- package/dist/lib/shader-assembly/select-shaders.d.ts +0 -28
- package/dist/lib/shader-assembly/select-shaders.d.ts.map +0 -1
- package/dist/lib/shader-assembly/select-shaders.js +0 -45
- package/dist/libs/wgsl-reflect/wgsl_reflect.module.d.ts +0 -1112
- package/dist/libs/wgsl-reflect/wgsl_reflect.module.d.ts.map +0 -1
- package/dist/libs/wgsl-reflect/wgsl_reflect.module.js +0 -3389
- package/dist/modules/lighting/lights/lighting-uniforms.d.ts +0 -46
- package/dist/modules/lighting/lights/lighting-uniforms.d.ts.map +0 -1
- package/dist/modules-webgl1/math/fp64/fp64-utils.d.ts.map +0 -1
- package/src/.DS_Store +0 -0
- package/src/lib/.DS_Store +0 -0
- package/src/lib/shader-assembly/.assemble-shaders.ts.swp +0 -0
- package/src/lib/shader-assembly/select-shaders.ts +0 -71
- package/src/libs/wgsl-reflect/wgsl_reflect.module.js +0 -3394
- package/src/libs/wgsl-reflect/wgsl_reflect.module.js.map +0 -1
- package/src/modules/.DS_Store +0 -0
- /package/dist/{modules-webgl1 → modules}/math/fp64/fp64-utils.d.ts +0 -0
- /package/dist/{modules-webgl1 → modules}/math/fp64/fp64-utils.js +0 -0
- /package/src/{modules-webgl1 → modules}/math/fp64/fp64-utils.ts +0 -0
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the package file manually.