FiringSquad: Home of the Hardcore Gamer - Games, Hardware, Reviews and NewsSubmit your own or view users' CPU overclocking results!

  
 Home   News   THE MATRIX   Deals   Hardware   Games   Features   Media   Products   Forums   FS China 
AddThis Social Bookmark Button

Home : Guides : Articles : FS 3D Guide: Filtering and Lighting
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 


Random Gallery >> 
Click to view high-res Image!
STALKER: Call of Pripyat DirectX 10 vs DirectX 11 Screenshots [10] (3)

Clive Barker's Jericho Review (Round 2) (6) by jacobvandy
Far Cry 2 SP Review (wip) (1) by jacobvandy
it could have been better T_T (0) by exe3
First Entry (1) by Skippy989
The Orange Box Review in 500 Words! [Preliminary #2] (7) by Swatt
Getting The Most Out of Your AMD CPU (2) by Deux
BioShock Review(Preliminary #2) (3) by Hyper
Round 2 Rules! (20) by fs-lyle
"I need a vacation..." (4) by ICDP
Never fallen (0) by froggz

More Blogs >>




FS 3D Guide: Filtering and Lighting
June 08, 1999   James Yu > [View My Other Articles]
Tim Hsu > [View My Other Articles]
Product Info | User Reviews | Article Images(18) | Image Gallery | Comments | Forum Thread
Phong Shading

Phong shading is more advanced than flat and Gouraud shading, but not without a penalty. Phong shading is so computationally intensive that it is not feasible to use in real-time without having some serious hardware action going on. What differentiates Phong shading from Gouraud shading is that instead of doing the work to find out the intensity for light and shading on the vertices of the polygon, you do it for each pixel. Obviously, this is a lot more taxing from a calculations standpoint.

To compute Phong shading, you need to find out the normal for each vertex. Then, this information is interpolated to find out the normals for all of the pixels in between. The interpolation is, again, done linearly. This data is then used to find out the intensity. Phong shading is more complex but looks better. The reason why is because you are getting intensity values for each pixel on the polygon's face. Thus, Phong shading is more accurately able to represent specular highlights and reflections from different light sources.

As you can see from the picture, which shows a light source and the resulting specular highlights on the object, Phong shading is able to show the reflections from the light source's position in relation to the various polygons that make up the image. In the case of Gouraud shading, the intensities for the pixels on the surface of the polygon are determined by the normals of the vertices only, so there is a smooth shading across the polygon's face. However, highlights can't be achieved, only a gradient determined by the brightness at the specific vertices.

Back! Gouraud? Who's that?     Enlightening! Next!
Blog + Share: Digg Del.icio.us Reddit SU furl • More: AddThis Social Bookmark Button
Send This Article to a Friend!  
Table of Contents
  Print Entire Article  

MATRIX CONTENT » RANDOM MEDIA BLOG More Blogs >>
No ratings yet
» Please rate this
I am an AMD AgentRead this Media-Blog entry!» First Entry (1)
by Skippy989 (78) Talk with this user on their Shout Box (My other blogs) Posted 7 months ago


 Hottest Topics
New Modern Warfare 2 PC petition created (33)
Call of Duty: Modern Warfare 2 PC Review (33)
ATI Radeon 5970 Performance Preview (12)
BioShock 2 special edition includes vinyl LP (11)
Activision hopes to monetize some aspects of CoD multi (11)
Today's News >>
Today's Siteseeing >>


 Table of Contents


 Quick Fact
Dennis' (Thresh) last name is Fong, so he must be shady. Ha!

FiringSquad is powered by... Back to Top Site MapContact UsAdvertise With Us Privacy StatementAbout Us  
News RSSSiteseeing RSSArticle RSS   © 1998-2009 FS Media, Inc. All Rights Reserved