Help to replicated light effect on Flax

I previously used Godot, and I want to try to replicate my project to Flax to test its performances. On Godot, you can put a light source inside the model, and its light passes through the model, and I try to replicate it on Flax by putting a light source inside the model, but it occludes the light. I already set the model on Flax to normal for backface culling, but still the light is still occluded. Is there a way to set it to mimic the way it looks on Godot?

If you Click the model and look at the model properties panel. There will the materials section.

In this area you can choose which material casts a shadow, so what i would do is if they aren’t already, separate the metal and emit materials, and then in flax leave what you have but change the emit material to cast no shadows.

1 Like

It’s true if I set the material to not cast a shadow, the light is passed through, but currently what I’m going to do is quite an edge case. On the model, I set a mesh specifically to flip the face inside the model so it is not affected by normal backface culling in order creating the shadow like on Godot. If set the material to not cast a shadow, it also does not cast a shadow by other light sources.

Huh… yeah that’s interesting. I’ve always done it the material way, i’ve never noticed that it still produces shadows for the backfaced mesh. I wonder if it’s just blocking it and not that there’s “no shadow”

1 Like

Probably the way the Godot Render pipeline differs since it uses Clustered Forward, I try Flax because it uses Deferred Rendering. The best I can do is modify the model and put the light on outside the model, and ngl, it manages to draw quite a lot of light sources compared to Godot.