I’m looking to replicate a shader that has kind of a bubble effect. So it should be mainly transparent and on the edges it should get colored.
The template looks like that:
And I’ve been using the threex.bubble shader (https://github.com/jeromeetienne/threex.bubble) to start but it also uses an envMap for the distortion and I’m thinking there’s maybe a smarter and better way to do it. Do you have any ideas? Maybe it’s also called differently.
This is what I have now:
But this uses a gradient as the environment, so the distorted gradients only look correct from one position.