Using ISF Files
Maybe I am just not doing something correctly, however, I import a custom ISF file through the effect settings on that clip.
The thing is, I when I add it and play it back it shows a black background. Am I doing this correctly or do I need to change something so it is a transparent background?
I tried changing the code but the whole effect just disappeared and shows a black screen.
Any help would be appreciated. If confused I can walk through it.
Comments
Hello @danielv,
Does your ISF shader compile correctly ? Click the
edit
button to check for errors.Please share your ISF file here.
Best. Philippe
@Millumin Uploaded one of the ISF files I was testing with. Everytime I tried to changed the code to edit the background I got an error OR the shader would just be completely gone.
Another question: how would you use ISF files as a transition in Millumin 5 Beta? I see you can upload it to transitions, but again when I play the column with the transition it just stops.
Hello @danielv,
I tested this shader with latest Millumin V4 (4.18.j) and it worked fine.
However, it was badly coded as there 2 times a variable called
scale
(in parameter and in the main() function). Thus, it cannot be converted to Metal and has to be executed via OpenGL. Here is a simple fixed (the second variable is named scale2 so it's clear) :Does this work ?
Best. Philippe
@Millumin Dragging it onto a media layer does nothing. Still the same issue I had when I first asked the question. Using it as an effect is the same thing.
Still not a transparent background to see the underneath file.
Im not sure how you were working it, BUT if you could provide the file you were using so I can look over it, that would be great!
Hello @danielv,
This ISF file is not an effect, it is a generator (it does not take an image input).
I tested with Millumin 4.18.j and 5.12.j and it worked fine on a MacBookPro M2 Max (I just drag-and-drop the FS file on a blank project) :
If the problem persists, please send us a TeamViewer session (via email).
Best. Philippe
@Millumin I think I phrased the question wrong, my apologies. Yes the FS file works on the dashboard, it plays and all is good.
My question originally was, is there a way to make that same FS file be transparent so it plays overtop the file underneath?
Example: I have a still image on the bottom layer and the shader on the top layer. How do I make the ISF file transparent so it shows the still image on the bottom?
I was told its possible, just having a hard time figuring it out.
I think I see my problem now. Some of the ISF are "effects" and some are "sources" the effects can be used on another file, but the sources are mainly just backgrounds that you cant add anything underneath. Correct me if I am wrong.
Hello @danielv,
Ok, I understand now.
ISF media can have transparent areas, but it depends on how it is coded. To make the background transparent of this ISF, tweak the code inside the file (click the
edit
button to do so).Another solution would be to set the blend-mode of your layer to
screen
.Best. Philippe
@Millumin Where in the code would I have to look to change the tweak the code? As I said before, I was aware it can be tweaked. Im not familiar with coding so I have no knowledge of that.
Also, how would I know if the ISF file is an effect or a source? Or do I really just need to guess?
Hello @danielv,
This is a bit out of the scope of our support, but here is a transparent version :
ISF effects have an "inputImage" parameter.
Best. Philippe
Got it. Thanks for the help. I will look for the "inputimage" from here on out. Thanks man!