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
}
}
@Exeldro I am using the FREEZE plugin. There are no floating points, sorry for discussing FREEZE here.@Dayset obs-shaderfilter has floating point numbers. What shader are you using and what are you trying to do with it?
- 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
- Add current time parameters
- Fix bugs loading on linux
@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.
Alr Ty bro much appreciated@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.
- Add cube_rotating, obs, perspective, smart_denoise and RGSSAA (Rotated Grid Super Sampling Anti-aliasing) shaders
- Update density_sat_hue shader
- Fix loop_second
- Fix typo in hexagon and fisheye shaders