Search the Community
Showing results for tags 'math?'.
Found 1 result
Hello again everyone, So earlier I figured out how to get gradients into my scene... but now I can't get them to do what I want. Im hoping to have the gradient go up and down kind of following water like movement, or even just something I could control the height. So in the playground I have the block with the gradient and one next to it, I want the intersection of the two colours to follow the moving blocks top edge(or at least goes up and down with the block, possibly all the way up or down)... https://www.babylonjs-playground.com/#2IFRKC#16 Any ideas how I could do this?