Flame Shader and GLTF

Flame.zip (4.9 MB)

I have found this nice example of a candle flame here and want to use it in my project.

I could extract the flame part from the rest. Now I want to put it in a glass tube. The geometry is loaded from a .glb file. The problem is that if the tube is solid (it has a wall thickness) the flame inside does not appear from the outside. it only shows if the tube is a simple plane. I’ve uploaded a test project that demonstrate the problem.

in order to test it, you can change the lies 15,16 of the FlameShader.js in the \Assets\Models\ folder