I’d like to create a “bubble of gas” and already have a vertex shader that looks pretty good: https://playground.babylonjs.com/#7P2U64#6
I was hoping to reuse a standard material fragment shader to give the bubble its 3D shading and not have to define it or do any special update calls on the shader material, like to set the camera and light positions. Is there any way to do this?
Alternatively as I know nothing (yet) about writing funky fragment shaders, then any help with that would be great! Thanks everyone!