Results 1 to 2 of 2

Thread: about shading mode

  1. #1
    Member Contributor
    Join Date
    Nov 2011
    Posts
    52

    about shading mode

    hi,can i implement the Flat Shading,Gouraud Shading,and phong Shading in opengl?It seems there just flat and smooth can be set in the glShadingMode()!!!

  2. #2
    Senior Member Regular Contributor imported_tksuoran's Avatar
    Join Date
    Mar 2008
    Location
    Cambridge, UK
    Posts
    223

    Re: about shading mode

    Flat shade model means flat. Smooth shade model means gouraud shading (vertex colors are interpolated per pixel). Phong shading (per pixel normal interpolation and normalization), can be implemented with shaders. (And to a limited extend with legacy fixed function using dot3 texture combiner and normalization cube map.)

Similar Threads

  1. convert Phong shading to Gouraud shading
    By vinceeema in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-04-2015, 07:59 AM
  2. Acceralated mode vs. generic (soft) mode question
    By sharp in forum OpenGL: Windows
    Replies: 13
    Last Post: 12-01-2008, 06:15 PM
  3. Replies: 10
    Last Post: 08-01-2003, 07:43 AM
  4. new shading mode
    By MrMADdood in forum OpenGL: General
    Replies: 62
    Last Post: 10-10-2000, 07:57 AM
  5. Phong-Shading vs. PerPixel-Lightning vs. Gouraud-Shading
    By DJSnow in forum OpenGL: Advanced Coding
    Replies: 15
    Last Post: 02-15-2000, 11:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean