View Full Version : Full VP & FP
Sancho
02-19-2004, 12:32 AM
Hi,
I'm looking for a VP and a FP that make the lighting calculation as there was no programs.
Is somebody have this for me ?
Thanks
M/\dm/\n
02-19-2004, 05:28 AM
Eeasy school project??? http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif http://www.opengl.org/discussion_boards/ubb/biggrin.gif
You can find a cg shader at developer.nvidia.com called smthn like implementing fixed function pipeline in cg, should be easy to port to GLSL if you're familiar with syntax, parameter passing.
V-man
02-19-2004, 01:33 PM
You can't do the full lighting with a single VP+FP
You need a whole set of them for each light type and also for the the number of lights.
My web site has VP examples in ARBvp + NVvp1 +NVvp2 that does some of this.
Sancho
02-19-2004, 10:00 PM
Originally posted by V-man:
You can't do the full lighting with a single VP+FP
You need a whole set of them for each light type and also for the the number of lights.
My web site has VP examples in ARBvp + NVvp1 +NVvp2 that does some of this.
Thanks
What is the adress of your web site ?
V-man
02-20-2004, 06:34 AM
See my profile.
It's in the new demoes section, it's called VeryBasic VP
It's also a GLUT program (WGL used, but can be easily changed for GLX)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.