|
-= Portal Shader Code And Method =-
#130440
05/17/07 16:01
05/17/07 16:01
|
Joined: Jun 2005
Posts: 656
Grafton
OP
User
|
OP
User
Joined: Jun 2005
Posts: 656
|
Here is how I created the high resolution, perspective correct, Portals in my game demo I posted in showcase I, This is very bare bones and only demonstrates how to create a couple of nice wall portals and teleport between them. I am sendind a more complete demo to the resource site. This uses render to texture (or sylex), and requires a card with PS 2.0 min. Get It Here.It is free to use for any purpose without any credit. Have Fun.
Not two, not one.
|
|
|
Re: -= Portal Shader Code And Method =-
[Re: Grafton]
#130441
05/17/07 16:57
05/17/07 16:57
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Nice, I'll test it out right away Josiah  Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: -= Portal Shader Code And Method =-
[Re: frazzle]
#130442
05/17/07 17:05
05/17/07 17:05
|
Joined: Jun 2005
Posts: 656
Grafton
OP
User
|
OP
User
Joined: Jun 2005
Posts: 656
|
Please let me know if it flops so I can fix it. I hastily put it together in a couple of hours only this morning!
Not two, not one.
|
|
|
Re: -= Portal Shader Code And Method =-
[Re: Grafton]
#130443
05/17/07 17:32
05/17/07 17:32
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
Expert
|
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
The teleport works but the shader isn't, I'm getting a yellow cirle as teleport  I don't know it's your shader code but I doubt it's my graphic card because it uses up to PS model 3.0 so... Just look at my sign. for more info about it  Btw, after I closed the demo, I got a new directory called "mtshader" on my hard drive  ?? Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: -= Portal Shader Code And Method =-
[Re: frazzle]
#130446
05/17/07 21:59
05/17/07 21:59
|
Joined: Jul 2005
Posts: 421 Germany
DoC
Senior Member
|
Senior Member
Joined: Jul 2005
Posts: 421
Germany
|
would you make that mirror/portal effect for com users? what would be great
Last edited by DoC; 05/17/07 21:59.
|
|
|
|