Rendering portal like in Portal 2
I have read many articles and questions on forums about making Portal System in Unity. But, I know how to do it, and my question is not about that.
I want to make portals' particles and effects сompletely identical from the game. Like here:
I don't really know much about materials and shaders, but I have found some textures from the original game. I have been searching for something in game data for a long time. I have found portal gun with their animations, sounds, map textures with height maps and normals, but I don't really understand how the game renders portals (effects and particles, not watching through portals). What I have found about that:
(.vtf files: textures, images, sprites; .vmt: material description)
noise-blur-256x256.vtf
It was declared in one of .vmt (materials in source engine) files.
I am thinking that it can be used for the closed portal (when only one portal enabled), like here:
portal-blue-color-dx8.vtf
Very interesting texture, 'cause it has hidden colors under alpha. How it looks without alpha:
And with alpha:
What I understand, that the game renders portal based on hidden colors under alpha and displays not transparent pixels (border of the circle). But, where did it find particles, I don't understand.
Beam edges (in materials/particles):
beam_portaledge_01.png
beam_portaledge_01b.png
beam_portaledge_02.png
beam_portaledge_04.png (it is really not transparent)
Also, I found the particle, but I don't think that I need it.
energyball.png
It was declared in portal_projectile.pcf, but I think that it isn't what i'm searching for.
So, do you have some ideas how I can mix all this textures and take something like this in result? I have no ideas.
I don't want to make some smoke, glow and other effects (not now). Just rendering this pretty portal effect like in Portal 2.