@remotion/starburst 4.0.464 → 4.0.465
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/esm/index.mjs +2 -2
- package/package.json +3 -3
package/dist/esm/index.mjs
CHANGED
|
@@ -229,7 +229,6 @@ var starburst = createEffect({
|
|
|
229
229
|
throw createWebGL2ContextError("starburst effect");
|
|
230
230
|
}
|
|
231
231
|
gl.pixelStorei(gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, true);
|
|
232
|
-
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true);
|
|
233
232
|
const vs = compileShader(gl, gl.VERTEX_SHADER, STARBURST_VS);
|
|
234
233
|
const fs = compileShader(gl, gl.FRAGMENT_SHADER, STARBURST_FS);
|
|
235
234
|
const program = linkProgram(gl, vs, fs);
|
|
@@ -309,7 +308,7 @@ var starburst = createEffect({
|
|
|
309
308
|
palettePixelData: new Uint8Array(0)
|
|
310
309
|
};
|
|
311
310
|
},
|
|
312
|
-
apply: ({ source, width, height, params, state }) => {
|
|
311
|
+
apply: ({ source, width, height, params, state, flipSourceY }) => {
|
|
313
312
|
const r = resolve(params);
|
|
314
313
|
const {
|
|
315
314
|
gl,
|
|
@@ -354,6 +353,7 @@ var starburst = createEffect({
|
|
|
354
353
|
gl.bindTexture(gl.TEXTURE_2D, sourceTexture);
|
|
355
354
|
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);
|
|
356
355
|
gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR);
|
|
356
|
+
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, flipSourceY);
|
|
357
357
|
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, source);
|
|
358
358
|
gl.activeTexture(gl.TEXTURE1);
|
|
359
359
|
gl.bindTexture(gl.TEXTURE_2D, paletteTexture);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/starburst",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.465",
|
|
4
4
|
"description": "Starburst ray effect for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"remotion": "4.0.
|
|
27
|
+
"remotion": "4.0.465",
|
|
28
28
|
"zod": "4.3.6"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"react": "19.2.3",
|
|
44
44
|
"react-dom": "19.2.3",
|
|
45
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
45
|
+
"@remotion/eslint-config-internal": "4.0.465",
|
|
46
46
|
"eslint": "9.19.0",
|
|
47
47
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
48
48
|
},
|