Luvac Zantor Posted June 21, 2002 Share Posted June 21, 2002 I've searched this forum manually and checked out jk2files.net's forums. I think I understand there are two ways to do reflectives. One is by using a "shader" with an alpha channel or something. I have not looked deeper into that, because it looks like it would require more work and I don't "get" shaders yet. The other way was using a texture system>mirror or system>mirror_yavin place that on the surface to you want to reflect and put a misc_portal_surface above it but not farther than 64 units. well I've moved it as close as I can, and moved it further away and never does it reflect anything. Can anyone help me? I realize thatif I want glossy surfaces, I should probably learn how to do shaders. Any suggestions, instructions or links to be directed to would be greatly appreciated!!!! Link to comment Share on other sites More sharing options...
D.L. Posted June 21, 2002 Share Posted June 21, 2002 The glass and reflective textures are in the textures/common dir. Hope this helps. Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 I appreciate the reply, but what are those textures going to do for me? I already used glass textures ( I forget what default texture list I loaded) of course that glass is blurry, and look better on table tops than an actual window. Are these textures for reflective surfaces and if so, do I need to extract them from one of the asset files? Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 LZ make you wanna bump bump Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 in an effort to help, i took some captures of 3d radiant. I've hacked a room up so it's quick to compile to try to solve this mystery. so don't critique the room, it's just being used to figure out mirrors. Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 well for whatever reason I can't post an image, but it shows the link Hopefully someone can help me out. Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 I'm trying all sorts of things here, it just seems like the misc_portal_surface isn't "looking on" to any textures. Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 ARGH, and I need to learn Neverwinternights TOO!!!! hehe. it's gotta be something ultra simple i'm missing..... Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 ok, using mirror_yavin and everything similiar to what I posted exception 1 misc_portal_surface and that is 8 units from the surface looks invisible, unless I get RIGHT UP ON IT in spectator mode, then it mirrors..... but if I'm not kissing it, it's see through... ? i'm inverting the brush now and checking that out. Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 well, the only mirror effect I Get is if I'm a spectator and push into where the mirror is suppose to be, then I see it. otherwise, it's just a "dark shadow" around most (not all) of the box that should be a mirror. any ideas? Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 would a leak cause a mirror not to work? Link to comment Share on other sites More sharing options...
Xcom Posted June 21, 2002 Share Posted June 21, 2002 Well, you probably read about my peculiar findings in this thread: http://64.246.44.70/~lucasforums.com/showthread.php?s=&threadid=63133 and judging by the screenshot you provided this setup isn't gonna work. Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 yeah, seen that. My problem isn't that it gets lighter as you get closer. it STAYS DARK until you are RIGHT UP ON IT. if you are third person mode, you can't get RIGHT UP ON IT. no mirror effect. first person or spectator,,, only if you are flush against the mirror does it reflect. this one has got me stumped. Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 here's the current screenshots of what works and what doesn't........ notice from afar, it's black when i finally get close enough to see the mirror effect, if I turn, it goes black also notice in third person right against it, nothing, still black. Link to comment Share on other sites More sharing options...
Xcom Posted June 21, 2002 Share Posted June 21, 2002 I might have solved the mirror problem..yey. Would do some testing for me? Create mymirror directory under base/textures and leave it empty. Open Notepad and paste this shader code in it: textures/mymirror/mirror_fix { qer_editorimage textures/tests/qer_mirror portal q3map_nolightmap { map textures/tests/qer_mirror blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA depthWrite } } Then save the file as mymirror.shader under base/shaders. Also add "mymirror" to the shaderlist.txt. In radiant you should now find mirror_fix texture under mymirror (which is totally black but that's ok). Try applying that and see if it works. Use only 1 misc_portal_surface entity. Im my case, this texture seems to work everywhere now. edit: -bug fix Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 I will test now and post my findings *crosses fingers* Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 when i add mymirror to the shaders.txt file system goes away from an option under textures and mymirror shows up if I load mymirror, it doesn't load any textures. Maybe I'm not following your instructions Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 ok if I "list directories" i can load system from there if I just click textures and look at the list shown immediately there... system is removed. wierd, but I think i found the work around,, going to compile now Link to comment Share on other sites More sharing options...
Luvac Zantor Posted June 21, 2002 Author Share Posted June 21, 2002 it's fixed works like a charm. My next goal after finishing this mapping is to learn shaders better. Thanks!! as you can tell, i've been at it all day. I suspected shaders, but to be honest, don't grasp them completely yet. Time that I do. Link to comment Share on other sites More sharing options...
Xcom Posted June 21, 2002 Share Posted June 21, 2002 edit: Oh, you fixed it. Phew. Glad it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.