Re: bend light?
Posted by LaChupakabra on
Tue Dec 21st 2004 at 1:07am
31 posts
3 snarkmarks
Registered:
Dec 4th 2004
hey im makin a map in which players pick up balls of "distorted reality" from the ground with grav gun, and throw them at each other. when you get hit, it triggers a push (maybe a 0 or - gravity, but havent tried that yet) effect so that you are suspended inside the bubble and float upwards. i was wondering, is there a way so that when the player is inside the ball, they see the rest of the world around them wierd? maybe use some glass effect to bend light? it may be to advanced for hl2's engine (it shocks me to say that) but if you have any thoughts post them please.
Re: bend light?
Posted by Tracer Bullet on
Tue Dec 21st 2004 at 1:37am
2271 posts
445 snarkmarks
Registered:
May 22nd 2003
Occupation: Graduate Student (Ph.D)
Location: Seattle WA, USA
Judging form what was in the E3 demos, I'd say it's possible, but I've no idea how to do it.
Re: bend light?
Posted by Raeth on
Tue Dec 21st 2004 at 2:14am
62 posts
16 snarkmarks
Registered:
Nov 24th 2004
Location: USA
I imagine you would have to find a code monkey and make a mod for this to work.
Re: bend light?
Posted by omegaslayer on
Tue Dec 21st 2004 at 2:24am
2481 posts
595 snarkmarks
Registered:
Jan 16th 2004
Occupation: Sr. DevOPS Engineer
Location: Seattle, WA
hmmmm have you tried the many properties of water, or func_illusionary?
Re: bend light?
Posted by Guessmyname on
Tue Dec 21st 2004 at 9:40pm
342 posts
173 snarkmarks
Registered:
Dec 6th 2004
You remember that beam thing in the citadel that bent light? Thats an env_steam with its Particle type as heat wave! (Discovered by accident)
Re: bend light?
Posted by pospi on
Thu Dec 23rd 2004 at 2:37am
4 posts
30 snarkmarks
Registered:
Dec 23rd 2004
i imagine this type of thing is a material setting rather than any type of coding.
Have a look at the magnifying glass in kleiners (spelling?) lab, it
distorts light like a lens would and im pretty sure it's done entirely
with materials.
Re: bend light?
Posted by Rof on
Thu Dec 23rd 2004 at 5:50pm
Rof
member
210 posts
41 snarkmarks
Registered:
Dec 3rd 2004
You might also take a look at env_screenoverlay, which is used for some
effects during the teleportation sequences. I've no idea how to use it,
though, or whether you could use it for only one player in a
multiplayer game.
Or as popsi says, make a model with a distorted-glass effect (like the
Combine barricade thingys) and place the player inside it.
Re: bend light?
Posted by kingtoke on
Thu Dec 23rd 2004 at 6:23pm
56 posts
26 snarkmarks
Registered:
Nov 25th 2004
Location: uk
erm i think its refraction, not sure how to do it but i saw someone write about it before
as far as i can remember you have to make an alpha channel for a texture, so that it bends light a certain way. theres a doorway used in the game where the glass is rippled light a bathroom window.
i think there is a valve tutorial for it - but they seem to explain it in a way that only becomes useful once you figure out how to do it - then it all makes sense.