matandk Posted May 17, 2015 Share Posted May 17, 2015 Hey, Pixi NoiseFilter has two option - "value" and "type"."value" default is "1f". What other values can I enter or how can I customize the noise filter? (for example, dark noise instead of white noise). Thanks Quote Link to comment Share on other sites More sharing options...
xerver Posted May 17, 2015 Share Posted May 17, 2015 There is only one property, "noise"; and the fault is 0.5. That is the only customization that is implemented. You would need to change the filter to do more than what it does now. The reason it is "white" noise is because it increases the color value by the noise: https://github.com/GoodBoyDigital/pixi.js/blob/master/src/filters/noise/noise.frag You could make it decrease instead to get "black" noise. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.