Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

MIRRORS?????Help

Page: 1 of 1
 stride
04-17-2004, 12:47 AM
#1
How would I make mirrors like in the final JO SP level where you see desann and stuff??
 Nkenobi
04-17-2004, 3:51 AM
#2
drom what I know.. that was a shader in JO, but not in JA... you could try moving it over to JA...

there is a way I think...
 Mercenary
04-17-2004, 3:59 AM
#3
If you can find a mirror shader put a misc_portal_surface near the brush. I think it has to be within 64 units or something.
 stride
04-17-2004, 11:50 AM
#4
in the system textures there is somethin like mirror_yavindraw, qer_mirror and portal in JA could one of them be it???
 stride
04-17-2004, 11:57 AM
#5
Thanks it was the yavin one. YAY mirriors
 vas_zag
04-17-2004, 5:56 PM
#6
does this work in MP or just SP?
i tried to make one in MP but i was just invisible...:confused:
 stride
04-17-2004, 10:42 PM
#7
OK big problem need more help. I spent like f***ing 2 hours trying to figure this out. Im trying to make a floor a perfect mirror that reflects everything exactly like it is. All I get is a F***ing black floor. I might rip my hair out soon. Sry guys this is just really confusing for me. O im trying this in SP first but i know it works in MP because i did that JO into JA stuff and played the last level of JO in MP of JA. I looked at the mirror. Well since im a mapper i cant keep those pk3s in my base when i map so i dont use the jk2 textures by mistake. Anyway please help. Thank you.
 wedge2211
04-17-2004, 11:37 PM
#8
You want to cover your floor in a shader that has surfaceparm portal in its code. Then, place a misc_portal_surface entity (untargeted) within 64 units of that surface, and that should take care of it.

This might eat your frame rate, though.
 stride
04-18-2004, 2:31 AM
#9
good thing this is a small map if this eats fps.
thank you
 Codja X
04-18-2004, 7:57 AM
#10
If push comes to shove, copy all your geometry, flip it on the z-axis and join it onto the existing geometry. You can then use common/env_glass to split this room in two and make the floor shiny. You won't be able to see npcs or other players in this relfection, but it should be a little bit quicker and should work.

I've read in a previous post that Raven took the code out for mirrors in JA, so misc_surface_portal may not work
 WadeV1589
04-18-2004, 12:34 PM
#11
They didn't take the code out but they did make it a pain to use compared to how it used to be...it only renders if nothing is visible behind it in JA.
 Codja X
04-18-2004, 1:26 PM
#12
what would you do then? Would you have to setup an areaportal stop the engine drawing behind it?

I don't really need to use mirrors, but it would be handy for future reference..
 WadeV1589
04-18-2004, 2:14 PM
#13
A floor is usually fine, so is a mirror against a wall (on a structural brush) but say you wanted to make a mirror in the middle of a room...you can't now. It has to be totally vis blocked behind it.
 Codja X
04-18-2004, 2:31 PM
#14
Mirrors are overated anyway...
 stride
04-18-2004, 3:58 PM
#15
im trying to put a mirror under water to give it the effect of relfecting
 WadeV1589
04-18-2004, 4:02 PM
#16
That would have been easy in EF, bloody hard now.
 stride
04-18-2004, 4:08 PM
#17
the closest i got to getting this to work was putting the portal512 shader on the ground and puttind mirror_yavin on the wall. Put to surface portals by each and i got a reflection in the corners of the map and black everywhere else. It was wierd and confusing.
Page: 1 of 1