Mirrors? Created 15 years ago2008-06-21 18:49:15 UTC by Rory Rory

Created 15 years ago2008-06-21 18:49:15 UTC by Rory Rory

Posted 15 years ago2008-06-21 18:49:15 UTC Post #251702
Are they possible? Can they be made?

I'm making a carnival map, and working on the restrooms.

I was thinking maybe a camera entity might work, if there isn't a specific mirror entity, maybe we can brainstorm and find a way to make one?
Posted 15 years ago2008-06-21 19:24:20 UTC Post #251704
I dont see a mirror happening without coding.. Even then it more than likely be a resource monster (as reflections are dynamic).

Otherwise, you could try a camera but it probably wont look right, and it will require an extensive amount of time to line up a camera to look backwards and be correct. You also wont have that 'gloss' that you're looking for.

:/
TheGrimReafer TheGrimReaferADMININATOR
Posted 15 years ago2008-06-21 19:33:43 UTC Post #251705
Yeah, the camera idea was just a pitch, haven't done TOO much source mapping so wasn't sure.

Thanks though, reafer.
Posted 15 years ago2008-06-21 19:46:54 UTC Post #251706
You can create a func_reflective_glass but it's more expensive to render than the camera.

http://developer.valvesoftware.com/wiki/Func_reflective_glass
Posted 15 years ago2008-06-21 20:32:12 UTC Post #251708
I dont have that entity :o
TheGrimReafer TheGrimReaferADMININATOR
Posted 15 years ago2008-06-21 20:38:58 UTC Post #251709
It's from the new Source engine, Ep2, TF2 and Portal
Posted 15 years ago2008-06-22 02:18:00 UTC Post #251730
There's a trick you can use where you make a water texture with no animation and put it underneath a transparent texture:

http://www.hl2world.com/bbs/realtime-reflection-beta-vt45529.html

Clever stuff :crowbar:
Posted 15 years ago2008-06-22 04:26:43 UTC Post #251733
Yes, but keep in mind that there's no player model! You won't see yourself reflected.
AJ AJGlorious Overlord
Posted 15 years ago2008-06-22 14:57:50 UTC Post #251754
Hoorah for Gmod! Player models! Woo!
Posted 15 years ago2008-06-22 16:41:55 UTC Post #251757
Isn't it possible to make a material reflective/glossy enough to achieve a mirror-like effect in Source?
Daubster DaubsterVault Dweller
Posted 15 years ago2008-06-22 18:16:48 UTC Post #251758
Using cubemaps, yes. Think of the effect window textures have. It's very low quality. Fine for windows on buildings that are always a good distance from the player, or for really slight effects but it would look terrible for a mirror i think.

although it is certainly the easiest option.
Posted 15 years ago2008-06-22 19:02:48 UTC Post #251759
OMG just use the entity I posted, it's made for that xD
Posted 15 years ago2008-06-22 21:07:15 UTC Post #251763
not if he's mapping for CS:S or HL2 :/
Penguinboy PenguinboyHaha, I died again!
You must be logged in to post a response.