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!
Syndicate Reboot DART Vision Screenshots [5] (0)

2nd Entry for Crank That S#!t Up! (2) by CamoDaGreat
[FX] 3-Screen Effect - Guide (part-2) (0) by nGAGE
Crank That S#!t Up! ENTRY :) (2) by CamoDaGreat
Superlative Computer (6) by arvernis
My crank that S#!t Up entry! (13) by zin_onos
The Nvidia "Crank That S#!T Up" Quiz Show, Part 2 (6) by mohawkade
My Crank That Sh#!t Up! entry :D (3) by chipmunk995
My First Video (3) by Stryker
My First Entry For Crank That S#!T Up! (2) by deathknight.92
Drink That S#!t Up! (14) by p4l1ndr0m3

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
Read this Media-Blog entry!» Nvidia+Socom Cranks that $#%^ UP!!!!! (4)
by mrinfinit3 (2) Talk with this user on their Shout Box (My other blogs) Posted 18 months ago


 Hottest Topics
Skyrim mod toolkit and Steam Workshop integration arrive with free official high-resolution texture pack (6)
Blizzard appealing to block Valve trademarking DOTA (5)
Bethesda shows modders how it's done: see what Skyrim developers added during free-form 'Game Jam' week (5)
Diablo 3 dev diary explains nightmare mode difficulty (5)
Obsidian has 'Kickstarter fever', asks for suggestions (3)
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-2012 FS Media, Inc. All Rights Reserved