Jump to content
• Advertisement

# BRDF related question...

This topic is 4971 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

## Recommended Posts

hi all, i am trying to play a little with brdf lighting, so i've read a nice paper brought by nvidia, explaining a bit of the maths underneath this tecnique. I am a bit confused thou: when indexing the drdf textures the nvidia guy uses the light-ray/eye-ray in BTN coordinates space. Why is that? why can't i use the simple usual object space coordinates? thanks to you all... the G.

#### Share this post

##### Share on other sites
Advertisement
er, I'm not sure I understood what your problem was, and if I did, I don't think you understood quite well what a BRDF is...

I haven't read the paper you're reffering to, maybe they changed some stuff compared to the general BRDF concept. a BRDF defines how light will react when hitting a surface, and how much light will be reflected in every direction (the light distribution). all this happens in the surface coordinate space, relative to the surface itself, that is, in tangent space... object space hasn't got anything to do with it.

#### Share this post

##### Share on other sites
Quote:
 Original post by gunslinger77hi all,i am trying to play a little with brdf lighting,so i've read a nice paper brought by nvidia,explaining a bit of the maths underneath this tecnique.I am a bit confused thou:when indexing the drdf textures the nvidia guy uses the light-ray/eye-ray in BTN coordinates space.Why is that? why can't i use the simple usual object space coordinates?thanks to you all...the G.

Certain BRDF formulations work only in the Tangent Space, e.g., Lafortune, since it assumes that the Normal is (0,0,1), and the tangents are (1,0,0), and (0,1,0). The advantage of this is that you can parameterize a BRDF with only 2 vectors (The light direction and the eye direction). I'd guess this is what they are doing.

If you are only varying the BRDF parameters in texture space, this can be much more efficent since the transform happens only in the vertex shader.

#### Share this post

##### Share on other sites

• Advertisement

### Announcements

• Advertisement
• ### Popular Tags

• Advertisement

• 11
• 19
• 12
• 34
• 9
• ### Forum Statistics

• Total Topics
631398
• Total Posts
2999838
×

## Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!