noone 0 Report post Posted April 29, 2019 How can i recreate this soft gradient color and animate it? Quote Share this post Link to post Share on other sites
jonforum 90 Report post Posted April 29, 2019 https://pixijs.io/examples/#/textures/gradient-resource.js Quote Share this post Link to post Share on other sites
ivan.popelyshev 1071 Report post Posted May 1, 2019 If you know the function, you can write shader that emulates it and put it in Filter and Mesh material like in pixi examples. As for where to get math - I really don't know Look in shadertoy.com , maybe there's something like that Quote Share this post Link to post Share on other sites
Exca 122 Report post Posted May 2, 2019 You can do that with vertex shader by giving each vertice a color and then gpu interpolates between those points. Or you can do the calculation in fragment shader to get more refined look. Here's an example how it could be done with fragment shader https://www.shadertoy.com/view/tls3zS For info on how the color palette is done read this article http://www.iquilezles.org/www/articles/palettes/palettes.htm 1 1 jonforum and kuuuurija reacted to this Quote Share this post Link to post Share on other sites