The struggle of making invisibility cloaks

Disclaimer: I have no idea where to put this, but this seems like the best place.

Lately I’ve been wondering how to implement cloaking for planes, people, etc. without using the transparency slider. I am not using it because then you end up with something like this:

Shameless quick grab from the toolbox to demonstrate my point.

This leads to the option of Reflectance. It’s not great but it’s not that blurry blob that we had before. (Clarification: not talking about the build talking about my garbage transparency edit)


And it’s not half bad, but we can do better. With flat surfaces (a likely application of this technology) you can add surface lights to make the effect more convincing during the day.
Screenshot_30
Now it’s pretty convincing. In fact, from a distance I would be sold by this because I’ve never really seen it before when in reality I’ve spent months perfecting this effect.
Screenshot_32
Oh… Nevermind. Only night flights then?
Screenshot_33

Well scratch the reflectance route in the daytime.

Time for my final conclusion: The Glass method. Ever since glass was introduced there has been this… ‘bug’ that when glass is transparent, any transparent objects will not render. (You can see where this is going…)
Screenshot_34
Screenshot_35

If the glass has a 0.99 value for its transparency it appears (almost) invisible, while technically being rendered. If the part you are trying to hide has a transparency value of 0.01 while it is technically transparent, it is practically opaque. So combined you have true cloaking, at least for the next few updates until this was changed.

Screenshot_36
This no longer works, of course, and it was changed to this only working with the base-part (the part you are trying to hide) having a transparency of greater than 0.01.

While the result is the most convincing yet…

We are somehow back to square one again, with transparency rendering glitches inside the ship/plane/craft.
Screenshot_38


Screenshot_40

I have no idea if this was intended (probably not) but it ruins the experience when inside the craft.

So, time for the actual scripting help part of the post. I am an intermediate programmer and have made planes that tween in and out of cloaking, but once again that whole rendering bug is really ruining it.

I am enlisting the help of you scripting and GUI wizards to help me accomplish this.

Any suggestions? Theories? Roblox Staff that want to inform us they are looking into the bug?

4 Likes

I’d prefer more of a standalone thing than clients having to install a plugin or move things around.
Cool project though!

I’m aware, hence the ^^^^ but thank you for your answer.