Advertisement Jump to content
  • Advertisement
  • entries
  • comments
  • views

Ward Reflection Model

Sign in to follow this  


Right, it's been almost 2 weeks since I last posted a lighting model. It's almost criminal how busy I've been lately [headshake]

On the plus-side for you guys I've greatly improved the HDR Demo sample that I wrote. Look out for that in a future SDK. [wink].

In an addendum to the Oren-Nayar entry... courtesy of a PM from rollo I've realised that there the Sin()Tan() map is actually going to be essential for a ps_2_0 version. From preliminary research, the pure mathematical expansion of that term will vastly exceed the limits of a ps_2_0 profile [lol]

Ward Reflection Model

The Ward reflection model (published in the SIGGRAPH 1992 proceedings) is one of the better models for simulating metalic surfaces. It varies the specular component based on the "direction" of the surface... thus being able to mimmick brushed metallic surfaces (amongst other things)...

  • Diffuse Texture
  • Normal-map Texture
  • Specular-map Texture
  • ?X?Y Coefficients Texture

  • Ambient Constant
  • Light Position
  • Light Range
  • Light Falloff

  • World Matrix
  • World * View * Proj Matrix

    Vertex Data:
  • Position
  • Normal
  • Tangent
  • TexCoord

    And, as usual, a pretty Visio diagram:

  • Sign in to follow this  


    Recommended Comments

    What's the title of the shader book you mentioned a while back where you've been reading about all these lighting models? I'm rather interested in lighting models rather than the 'standard' blinn-phong one.

    Share this comment

    Link to comment
    Programming Vertex and Pixel Shaders by Wolfgang Engel.

    Based on some advice, I recently ordered (got despatched today!) Advanced Lighting and Materials with Shaders by Kelly Dempski and Emmanuel Viale.

    If you're interested in the actual maths/theory of each lighting model Wolfgang Engel's book is a bit rubbish - too many typo's and mysterious name changing and so on. All of these journal entries have been started with his book, but finished by checking the actual research papers...


    Share this comment

    Link to comment
    Yeah I would like something a bit more academic, Advanced Lighting and Materials looks interesting.

    Share this comment

    Link to comment

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Advertisement

    Important Information

    By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

    Sign me up!