|
3 registered members (AndrewAMD, Grant, valino),
3,361
guests, and 13
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
FFP versus regular shaders
#58736
11/11/05 08:42
11/11/05 08:42
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
OP
Senior Expert
|
OP
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Two questions: 1. What are the differences between a FFP, supposedly a fixed function effect, and a "normal shader"? 2. What are the pros and cons between FFP and "normal shaders"?
As far as I know, FFP can run on any video card.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: FFP versus regular shaders
[Re: William]
#58739
11/11/05 22:04
11/11/05 22:04
|
Joined: Jun 2005
Posts: 656
Grafton
User
|
User
Joined: Jun 2005
Posts: 656
|
The "fixed function pipeline" includes a small group of "fixed functions" that are understood by the gpu's of older graphics cards, FFP is said not to be "programmable", because it is an "effect" you can do by using these few instructions sent to your graphics card.
The "programable pipline" is another pipeline which includes the ability to manipulate the vertex and pixel shaders of your graphics card directly using a programming language, thus the name "shaders". Since, shaders are programmable, they can do everything the FFP instructions do plus you have much more flexability.
In older cards, support for FFP is hardware and VS/PS support is software, This is changing. Direct gpu support (hardware) for FFP, is disappearing in newer cards, when these newer cards receive FFP instructions, they perform the eqivalent shader instructions instead(emulate FFP).
It has been my experience and understanding that FFP is faster than an eqivalent VS/PS shader on cards that support FFP hardware. And FFP is the same speed or slower on the newer cards that emulate FFP through the shader pipeline. FFP is far easier to learn than HLSL since the first is a group of instructions and the latter is a programming language.
I have a Nvidia GeForce FX 5600 256 MB card, The 4 texture multitexturing FFP effect I use runs much faster than any eqivalent VS/PS shader I have tried so far, but, I imagine results would probably be the same or opposite if I compared them on a newer card that used FFP emulation.
Not two, not one.
|
|
|
Re: FFP versus regular shaders
[Re: Grafton]
#58740
11/12/05 00:31
11/12/05 00:31
|
Joined: Oct 2003
Posts: 4,131
Matt_Aufderheide
Expert
|
Expert
Joined: Oct 2003
Posts: 4,131
|
Quote:
FFP is far easier to learn than HLSL since the first is a group of instructions and the latter is a programming language.
I actually strongly disagree.. the FFP is so non-intuitive, that frankly unless you are an alien, HLSL is much easier to deal with.
|
|
|
|