Jump to content

Home

still unable to do mirrors or reflective surfaces after reading other threads!!!


Luvac Zantor

Recommended Posts

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

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

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

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

here's the current screenshots of what works and what doesn't........

 

mirror3.jpg

mirror4.jpg

mirror5.jpg

mirror6.jpg

mirror7.jpg

 

 

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

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. :eek:

 

edit:

 

-bug fix

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...