Comments (4)
Thanks for the suggestion!
I added a 'Luminance' parameter to the Lumakey filter: white lumakey with Luminance = 1.0
If you try version Beta 657b05d, you can access the new parameter;
Alternatively, you can create a custom filter with the following code:
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
float Luminance = 1.0;
float Threshold = 0.5;
float Tolerance = 0.5;
vec2 fragPos = fragCoord.xy / iResolution.xy;
vec3 RGB = texture(iChannel0, fragPos).rgb;
float L = dot(RGB, vec3(0.299, 0.587, 0.114));
fragColor = vec4( RGB, smoothstep( Threshold, Threshold + Tolerance * Tolerance, abs(Luminance - L) ) );
}
from vimix.
from vimix.
I checked the beta with alpha key now.
works perfectly as far as I can tell
from vimix.
NB: see #117 for update (bug fix)
from vimix.
Related Issues (20)
- why to clone to add Filter? HOT 6
- Error message death loop HOT 1
- free cropping in F2 view HOT 11
- pinpong loop bug in Ubuntu HOT 11
- capture rolldown growing HOT 11
- seek OSC message behavior HOT 4
- autoadaptive interface for small screen but high resolution! HOT 7
- Vimix frozen after 2/3 session load HOT 4
- Output window problem HOT 8
- /vimix/foo/correction OSC messages unresponsive HOT 9
- Application closes suddenly HOT 8
- Mac cannot open .mix files with Vimix HOT 1
- "Restart on deactivation" bug HOT 3
- Small bug with sound HOT 9
- Dynamically set shader filter variables HOT 8
- Segmentation fault with Ubuntu 24.04 LTS HOT 6
- Glfw Error 65548: Wayland HOT 1
- Wifi et paramètres HOT 3
- problem building with gcc 14 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimix.