How would I make mirrors like in the final JO SP level where you see desann and stuff??
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...
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.
in the system textures there is somethin like mirror_yavindraw, qer_mirror and portal in JA could one of them be it???
Thanks it was the yavin one. YAY mirriors
does this work in MP or just SP?
i tried to make one in MP but i was just invisible...:confused:
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.
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.
good thing this is a small map if this eats fps.
thank you
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
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.
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..
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.
Mirrors are overated anyway...
im trying to put a mirror under water to give it the effect of relfecting
That would have been easy in EF, bloody hard now.
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.