instantshader 0.8.0 → 0.8.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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3050,7 +3050,7 @@ const dither = {
3050
3050
  label: "Blue noise"
3051
3051
  }
3052
3052
  ],
3053
- default: "bayer4"
3053
+ default: "bayer8"
3054
3054
  },
3055
3055
  {
3056
3056
  key: "size",
@@ -3058,7 +3058,7 @@ const dither = {
3058
3058
  min: 1,
3059
3059
  max: 16,
3060
3060
  step: 1,
3061
- default: 4
3061
+ default: 3
3062
3062
  },
3063
3063
  {
3064
3064
  key: "levels",
@@ -3066,7 +3066,7 @@ const dither = {
3066
3066
  min: 2,
3067
3067
  max: 8,
3068
3068
  step: 1,
3069
- default: 2
3069
+ default: 4
3070
3070
  },
3071
3071
  {
3072
3072
  key: "bias",
@@ -3080,7 +3080,7 @@ const dither = {
3080
3080
  key: "linear",
3081
3081
  label: "Linear light",
3082
3082
  type: "bool",
3083
- default: false
3083
+ default: true
3084
3084
  },
3085
3085
  {
3086
3086
  key: "shimmer",
@@ -3091,12 +3091,12 @@ const dither = {
3091
3091
  default: 0
3092
3092
  },
3093
3093
  ...colorModeParams({
3094
- mode: "duotone",
3094
+ mode: "source",
3095
3095
  ink: "#000000",
3096
3096
  paper: "#ffffff"
3097
3097
  }),
3098
3098
  ...blendParams({
3099
- blend: "screen",
3099
+ blend: "softLight",
3100
3100
  opacity: .6
3101
3101
  })
3102
3102
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instantshader",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Animated WebGL gradient shaders, plus dither, pixelate, halftone and ASCII effects. Zero dependencies.",
5
5
  "type": "module",
6
6
  "license": "MIT",