Holographic Portal Effect

Using Unity ShaderGraph and Material Maker to create a portal effect with a digital twist.

The first step is to create and export the textures from Material Maker. Select the end nodes and then click at the top of the preview window to export.

The next step is to create an unlit shader and a material from that shader. Sampling the texture we just created and when warping the UV’s with a Rotate node will make it spin. We can multiply a time node by a float attribute to conrol the rotation’s speed. Then we multiply that by a HDR colour attribute

Next we multiply it all by the sampled mask texture and plug that into the alpha.

For the size, we make an int slider and put it into a Lerp. This allows us to map the 0-1 range into something that will fit better for our purposes. That goes into a Tiling and Offset node which controls the mask’s UVs. Make sure you set the samper settings to clamped.

We can multily all this by the size float to make it fade as it shrinks.

The final step is to multiuply the alpha by another instance of the mask texure, this time with the UV’s scaled by another float value.

And hurray! Your very own digital portal. Feel free to add a simple particle effect to add a bit more depth.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.