Mirror effect -1 reply

  • 1
  • 2

Please wait...

Kkamshi

waiting on you guys....

50 XP

14th March 2006

0 Uploads

128 Posts

0 Threads

#1 12 years ago

Is it possible to create a shader that act as a mirror? One that will have reflection like a mirror, not just lighting?:confused:




Maddestmax

"WiP" Forum Mod, Beta-Tester

50 XP

21st April 2006

0 Uploads

110 Posts

0 Threads

#2 12 years ago

Ive seen this before, so its possible, but i dint know how... (In a Map, of course) But i dont think you can make a "mirror model"




Szico VII

We want FF7-2/remake!

50 XP

15th September 2003

0 Uploads

1,683 Posts

0 Threads

#3 12 years ago

place this shader on the surface you want as a mirror:

textures/tmu_lobby/tmu_lobby_floor_mirror { qer_editorimage textures/tmu_lobby/tmu_lobby_mirror q3map_material Marble portal { map textures/tmu_lobby/tmu_lobby_mirror blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA depthWrite alphaGen portal 600 } { map $lightmap blendFunc GL_ZERO GL_SRC_COLOR } }

and put a misc_portal_surface entity no further than 32 units away from the front of it. The mirror image there you'll probably want as a silver texture.




Metall_pingwin

Call me Pingwin

50 XP

26th May 2005

0 Uploads

7,238 Posts

0 Threads

#4 12 years ago

i now that in BF2 they just copied the map upside down, and made teh floor transparent...




Metall_pingwin

Call me Pingwin

50 XP

26th May 2005

0 Uploads

7,238 Posts

0 Threads

#5 12 years ago

i now that in BF2 they just copied the map upside down, and made teh floor transparent...




TK 409er

Elementary, Mr. Watson.

50 XP

29th November 2003

0 Uploads

672 Posts

0 Threads

#6 12 years ago
Darth_muffini now that in BF2 they just copied the map upside down, and made teh floor transparent...

that's the most retarded thing I've ever heard. :lol: :lol: :lol:

holy crap that's stupid... I've got a great idea! It halves the framerate! :rolleyes:

did they really? that's amazing!




Szico VII

We want FF7-2/remake!

50 XP

15th September 2003

0 Uploads

1,683 Posts

0 Threads

#7 12 years ago

plus, tats essentially what a mirror does, with like, none of the extra work involved.




Slusk

Scripter, Mapper

50 XP

7th July 2005

0 Uploads

389 Posts

0 Threads

#8 12 years ago

when you make the misc portal entrie do yo connect it to the shader?\




Kkamshi

waiting on you guys....

50 XP

14th March 2006

0 Uploads

128 Posts

0 Threads

#9 12 years ago

i'll try it out but i just wandering, does this shader work on saber hilt or any other weapons?:confused:




Kkamshi

waiting on you guys....

50 XP

14th March 2006

0 Uploads

128 Posts

0 Threads

#10 12 years ago

Hey szico, do i change anything to what you gave me or do i have to change some line of it.?:confused:




  • 1
  • 2