View Full Version : What is a vertex shader ?
09-21-2001, 01:10 AM
I'd like to know what is the "vertex shader" of the GF3, about which they often talk on the advanced forum. And what does it mean, when they say that it's "programmable" ? Will we at last have the possibility to program GPUs in assembly language ?
Thanks for help !
09-21-2001, 01:46 AM
a vertex shader is a small program that will be executed for each vertex you send to the card. You can create lots of effects ranging from lighting (e.g. double sided) to geometric effects (e.g. key frame animation or morphing). In NVIDIAs implementation you have kind of a assembly language to manipulate diverse registers (e.g. vertex coordinates and constants) and finally create the output vertex.
09-21-2001, 02:58 AM
What stefan says is correct on all counts. Be aware that using vertex programs completely bypasses the fixed T&L engine so you have to write everything yourself == a lot more work. On the other hand, you can create great effects with them and they are also a lot of fun to use. Download all the pdf's you can from NVIDIA's site and read up on them. There are quite a few demos in the SDK and on people's sites for experimenting with them as well. You can use them on GeForce and up hardware with emulation, but only in hardware on GeForce3.
Hope that helps.
09-23-2001, 08:38 AM
Thank you guys, that was very informative http://www.opengl.org/discussion_boards/ubb/smile.gif.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.