T_COLOR_FEATURE not working for shaders? #526
-
Hi community, I am using SK6812 (RGBW) leds and an arduino mega 2560 R3 for my project. I am looking for a way to use a "global brightness" that scales all pixels in brightness. First i tried NeoPixelBrightnessBus, but then i got over this comment from Makuna (#339 (comment)) where he recommend using a shader. I implemented one similar to the NeoPixelBufferShader-example. Before my strip worked just fine with the "NeoGrbwFeature". After applying the shader (also with NeoGrbwFeature) the colors red and green are switched. Even if i try to use "NeoRgbwFeature" nothing changes. Somebody knows what went wrong here? Is it allowed to use RGBW-LEDstrips with this feature? greetings |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
It should work. |
Beta Was this translation helpful? Give feedback.
It should work.
Do you have code we can see? Primarily the shader implementation, the strip and buffer definitions, and where you call to render it.