Portal Shader
A shader that makes a spiral used for a portal.
Look at my code
GitHub
How it works.
The spiral:
The spiral is made by twirling a texture. By using a formula that uses sinus, cosine, _Time[] and the uv coordinates it can twirl the texture making a
spiral.
The texture used for the spiral.
Edge fade:
By using a black and white texture and turning the color value into the alpha you can easily make it fadeout on the edges.
The texture used for the edge fade.
The shader on a sphere.
Back