Thread: Are shaders faster than fixed functionality

  1. #1
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071

    Are shaders faster than fixed functionality

    I know shaders are capable of producing some very nice effects, but, what if for example, I did per-vertex lighting in a shader. Would it be faster than using default fixed functionality?

    -psychopath
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  2. #2

    Join Date
    May 2005
    Posts
    1,042
    This question cannot really be answered without a deeper understanding of how to actually perform the lighting. The ultimate answer is yes and no. You can certainly beat the default lighting routines but it may require shortcuts such as using lookup tables for sqrt. A lot of this depends on the driver you are trying to beat and the card you are writing the vertex shader for. There's just too many factors to give a single ultimate answer.
    I'm not immature, I'm refined in the opposite direction.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. How accurate is the following...
    By emeyer in forum C Programming
    Replies: 22
    Last Post: 12-07-2005, 12:07 PM
  3. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM
  4. fixed point / floating point
    By confuted in forum Game Programming
    Replies: 4
    Last Post: 08-13-2002, 01:25 PM
  5. Floating point faster than fixed-point
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-08-2001, 11:34 PM