ISF with internal buffer seems not to work in WIRE
Posted: Sat Jul 20, 2024 18:24
Hey all dear resolumers,
I try to use ISF in Wire.
Some shaders work in the ISF Editor and some works in Millumin, but doesn't work at all or partially in WIRE. Especially ISF using buffers doesn't work.
Is that a frequent problem?
I rode the ISF WIRE webpage https://resolume.com/support/en/isf
But this doesn't seems like to tell me why this doesn't work.
Here is an exemple of a ISF shader, it works well in Millumin but I tried to make work in Wire without success.
Could you tell me why?
This is a shader built to create a stop-motion effect.
Best regards
Jonathan
/*
{
"CATEGORIES": [
"Automatically Converted",
"Shadertoy"
],
"DESCRIPTION": "Automatically converted from https://www.shadertoy.com/view/Xst3Wf by aiekick. Britney Stop Motion",
"IMPORTED": {
},
"INPUTS": [
{
"NAME": "inputImage",
"TYPE": "image"
}
],
"PASSES": [
{
"FLOAT": true,
"PERSISTENT": true,
"TARGET": "BufferA"
},
{
}
]
}
*/
#define FRAME_INTERVAL 60
void main() {
if (PASSINDEX == 0) {
if (mod(float(FRAMEINDEX), float(FRAME_INTERVAL)) == 0.) // init with britney
{
gl_FragColor = IMG_NORM_PIXEL(inputImage,mod(gl_FragCoord.xy / RENDERSIZE.xy,1.0));
}
else
{
gl_FragColor = IMG_NORM_PIXEL(BufferA,mod(gl_FragCoord.xy / RENDERSIZE.xy,1.0)); // read buffer and keep britney
}
}
else if (PASSINDEX == 1) {
gl_FragColor = IMG_NORM_PIXEL(BufferA,mod(gl_FragCoord.xy / RENDERSIZE.xy,1.0));
}
}
I try to use ISF in Wire.
Some shaders work in the ISF Editor and some works in Millumin, but doesn't work at all or partially in WIRE. Especially ISF using buffers doesn't work.
Is that a frequent problem?
I rode the ISF WIRE webpage https://resolume.com/support/en/isf
But this doesn't seems like to tell me why this doesn't work.
Here is an exemple of a ISF shader, it works well in Millumin but I tried to make work in Wire without success.
Could you tell me why?
This is a shader built to create a stop-motion effect.
Best regards
Jonathan
/*
{
"CATEGORIES": [
"Automatically Converted",
"Shadertoy"
],
"DESCRIPTION": "Automatically converted from https://www.shadertoy.com/view/Xst3Wf by aiekick. Britney Stop Motion",
"IMPORTED": {
},
"INPUTS": [
{
"NAME": "inputImage",
"TYPE": "image"
}
],
"PASSES": [
{
"FLOAT": true,
"PERSISTENT": true,
"TARGET": "BufferA"
},
{
}
]
}
*/
#define FRAME_INTERVAL 60
void main() {
if (PASSINDEX == 0) {
if (mod(float(FRAMEINDEX), float(FRAME_INTERVAL)) == 0.) // init with britney
{
gl_FragColor = IMG_NORM_PIXEL(inputImage,mod(gl_FragCoord.xy / RENDERSIZE.xy,1.0));
}
else
{
gl_FragColor = IMG_NORM_PIXEL(BufferA,mod(gl_FragCoord.xy / RENDERSIZE.xy,1.0)); // read buffer and keep britney
}
}
else if (PASSINDEX == 1) {
gl_FragColor = IMG_NORM_PIXEL(BufferA,mod(gl_FragCoord.xy / RENDERSIZE.xy,1.0));
}
}