Author Topic: Fresnel Reflection?  (Read 2993 times)

0 Members and 1 Guest are viewing this topic.

Offline Carl

  • Render artist
  • 211
    • http://www.3dap.com/hlp/
Would it be possible to do this? Have the environment map's reflection intensity based on the angle of incidence, to better mimic how paint on a starship would reflect light, as well as the cockpit.
"Gunnery control, fry that ****er!" - nuclear1

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Skype
    • Steam
    • Twitter
you mean like how it looks when you're passing a star while in LDS in I-War 2?
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

 

Offline FireCrack

  • 210
  • meh...
^No.


Like how say glass is reflective if you look at it from a realy shallow angle..
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
It would be nice to first get normal environmental mapping working again. :p

 

Offline neoterran

  • 210
Re: Fresnel Reflection?
environmental mapping didn't look very good, imo. I mean, sure, it had an initial wow factor, but the fact is that spaceships in reality would not look like that shiny and reflective in space. They'd look more dirty and dingy, for real.
Official Taylor Fan Club Member.
Chief Grognard.
"How much code could a coder code if a coder could code code?"

 

Offline Flaser

  • 210
  • man/fish warsie
Re: Fresnel Reflection?
environmental mapping didn't look very good, imo. I mean, sure, it had an initial wow factor, but the fact is that spaceships in reality would not look like that shiny and reflective in space. They'd look more dirty and dingy, for real.

Guess you never saw ships properly mapped, right?
The same happened when shine mapping was introduced.

Env mapping used the alpha channel of the shine map for intensity.
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline gevatter Lars

  • Another wingnut
  • 213
    • http://gevatter_lars.tripod.com/
Re: Fresnel Reflection?
Got a question about Env maps...if I am informed right they where only in D3D mode but not openGL or was it the other way around?
"Yes! That is my plan, and I see nothing wrong with it. I figure that if I stick to a stupid strategy long enough it might start to work."
 - comment to "Robotech: The Masters"

 

Offline Flaser

  • 210
  • man/fish warsie
Re: Fresnel Reflection?
Got a question about Env maps...if I am informed right they where only in D3D mode but not openGL or was it the other way around?

Correct.
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline neoterran

  • 210
Re: Fresnel Reflection?
environmental mapping didn't look very good, imo. I mean, sure, it had an initial wow factor, but the fact is that spaceships in reality would not look like that shiny and reflective in space. They'd look more dirty and dingy, for real.

Guess you never saw ships properly mapped, right?
The same happened when shine mapping was introduced.

Env mapping used the alpha channel of the shine map for intensity.

Hmm.. maybe I didn't. I did see the effect of reflected nebulas on the fenris' hull in the first mission of derelict when enabling ENV mapping in direct 3D, but I long since switched to OpenGl for various reasons, and I was under the impression it was broken in Direct3D now anyway. Got any screenshots you'd like to post ?
Official Taylor Fan Club Member.
Chief Grognard.
"How much code could a coder code if a coder could code code?"

 

Offline Carl

  • Render artist
  • 211
    • http://www.3dap.com/hlp/
Re: Fresnel Reflection?
Got a question about Env maps...if I am informed right they where only in D3D mode but not openGL or was it the other way around?

Correct.

That's really doesn't answer the question as well as you meant it to.
"Gunnery control, fry that ****er!" - nuclear1

  

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Fresnel Reflection?
That's really doesn't answer the question as well as you meant it to.
Strangely enough, it's correct on both counts now.  Previously it was D3D only that supported envmaps and OpenGL didn't.  As of this past weekend OpenGL does but the D3D code has been disabled since it hasn't been upgraded to work with the new envmap improvements, and it may never be.