obs-shaderfilter

obs-shaderfilter 2.4.1

Zalioris

New Member
Last edited:

Trenaldi

New Member
Hello, I'm trying to replicate how a StreamFX filter looked with it's Exeldro approved equivalent.

The scan line filter I've got mostly the same. To get both a big rollbar and smaller lines like I could do before, it takes 2 instances instead of the previous one instance...

But the big difference is the old filter would be visible on a black empty background, while this new one is not. Anybody got any suggestions about that?

I don't know shader code from a hole in my head but I'm open to being given edits for it.
 

Dayset

New Member
Hello. This shader code works fine on the ShaderToy website.
Made it with chatGPT, how can it be converted to use with OBS shader filter?
I need a simple slider to skip frames and send previous duplicated frames.
Thanks.

C:
void mainImage( out vec4 fragColor, in vec2 fragCoord ) {
    vec2 uv = fragCoord / iResolution.xy;
    
    // Calculate a frame toggle based on time assuming 60fps animation
    int frameIndex = int(mod(iTime * 60.0, 60.0));

    // Only update once every 6 frames (reduces to 10fps)
    if (frameIndex % 6 == 0) {
        fragColor = texture(iChannel0, uv); // Draw the frame
    } else {
        discard; // Skip the frame
    }
}
 

Dayset

New Member
@Exeldro This is almost the perfect plugin for my needs.
My goal is to capture exactly 30 frames out of 60. Its behavior is pretty strange while 17 ms pauses instead of 16.67 ms.
There is no support or possibility for floating point numbers?
 

Dayset

New Member
@Dayset obs-shaderfilter has floating point numbers. What shader are you using and what are you trying to do with it?
@Exeldro I am using the FREEZE plugin. There are no floating points, sorry for discussing FREEZE here.
I created several zones to capture - the outer range is low FPS, while the central area is high FPS.

My initial idea was to use as many 'circular zones' as possible to gradually decrease the framerate from the center. But after trying the whole integer zone I noticed that it is not working as simply as "16.67 ms ~ 17ms no worries". I even have to use 120 fps OBS capture to precisely use FREEZE timings.

Here is a demo of 2 distinctly visible zones https://www.twitch.tv/videos/2288882204
(8 ms pause: Approximately 61.22 fps and 40 ms pause: Approximately 20.69 fps.) - while aiming and shooting
and 3rd special zone of 26 ms pause: Approximately 29.13 fps - while running around in an FPS game.
 

Attachments

  • images.jpg
    images.jpg
    44 KB · Views: 15

Exeldro

Active Member
Exeldro updated obs-shaderfilter with a new update entry:

Version 2.4.0

  • Improve converting shaders
  • Add elapsed_time_show, elapsed_time_active and elapsed_time_enable
  • Add 3d_swap_transition.shader
  • Add clock_analog.shader
  • Add clock_digital_led.shader
  • Add clock_digital_nixie.shader
  • Add curve.shader
  • Add density_sat_hue.shader
  • Add diffuse_transition.shader
  • Add specular-shine.shader
  • Add tetra.shader
  • Fix polar.shader
  • Fix shine.shader
  • Fix VHS.shader

Read the rest of this update entry...
 

Art22_1999

New Member
Just wondering I'm still sorta new to the plugins for OBS but do we have to reinstall the plugin after it gets updated or no?
 

Agape Multimidia

New Member
Hi Exeldro, excellent plugin! Thanks!

Do you have a link to download other shader files compatible with this plugin, like transition shaders? Thank you very much again!
 

Agape Multimidia

New Member
@Art22_1999 just download and run the new installer

@Agape Multimidia I don't have other shaders than the shader files provided with the plugin. The plugins has tools build in tool to try and convert shards from sites like shadertoy.com . Let me know if there is a specific transition shader you want.

I found these two models on the shadertoy website, if it is possible to compile them, I would greatly appreciate it
 

Azyrod

New Member
Hi @Exeldro, I am trying to use the plugin but any filter just results in a black screen...

I installed it on windows with the .exe installer. It seemed to work, since I can add the filter effect on my video sources, but then any shader applied just turns the source into a black screen...
There is also no error messages in OBS logs, can you help ?
 

Lukealele

New Member
Hi guys, recently my shader plugins have been acting up. They just disappear and are not available. I then have to redownload each time I start my PC for them to work and even then not all of them are available. Does anyone have any steps they would know of to fix this? I'm on OBS 30.1.2 & it's only recently started becoming a problem. Thanks. (Ps, is there a discord server to ask stuff like this? Thanks)
 
Top