Planetside Software Forums

General => Open Discussion => Topic started by: Walli on December 22, 2009, 09:26:34 AM

Title: Xray and other fresnel effects
Post by: Walli on December 22, 2009, 09:26:34 AM
Hi,

TG2 offers a Get Normal shader, which you can use to calculate a color depending on the surface normal - at last this is what I understand ;-)

Is it possible to transfer this into something like an Xray effect?  So that at glancing angles you could have a different color compared to the rest?

thanks,
Walli
Title: Re: Xray and other fresnel effects
Post by: rcallicotte on December 22, 2009, 10:46:34 AM
Sounds like something to play with to see what happens.  I can't right now, but I probably will try it this weekend.  Or better yet, someone try it and post your results so we can see it now.   ;D
Title: Re: Xray and other fresnel effects
Post by: FrankB on December 23, 2009, 07:18:28 AM
yes, I have such a function in my book of magic.
No really, I have something like that buried somewhere. Will look it up.

Cheers;
Frank