using shaders to reflect -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 16 years ago

is it possible to use shaders to make a surface reflect light, such a marble. all the information on shaders i've seen had been on emitting light. i want to make the surface sheen, is there any code that will do that?




zaklamp

The forums staffers think I'm Cool

50 XP

25th June 2002

0 Uploads

187 Posts

0 Threads

#2 16 years ago

hmm i'm not too good at shaders, but i don't think reflecting is an option, you can probably create the illusion but it will never really reflect




EXiT

7o'nine

50 XP

11th April 2002

0 Uploads

2,175 Posts

0 Threads

#3 16 years ago

Actually it is possible... have you guys played the JK2 Demo map?? It uses reflective floors.. even LivingDeadJedi's map uses reflective floors (Vader's Chamber). I would just use Raven's reflective shader but replace their texture with yours. Just remember!! Using reflective shaders can increase compile time and also reduce FPS! So use it wisely! ;)

EXiT