Re: Vertex Shader, CLP0 and GLSL (FOUND SOLUTION)
Rhadamés Carmona <[email protected]> Mon, 02 Jan 2006 11:52:22 -0800
| Newsgroups | gmane.games.devel.opengl |
|---|---|
| Organization | Fat City Network Services, San Diego, California |
| Message-ID | <[email protected]> |
Hey Guys.... Well, I found the solution using gl_ClipVertex instead! Thx anyway Rhadamés ----- Original Message ----- To: "Multiple recipients of list OPENGL-GAMEDEV-L" <[email protected]> Sent: Monday, January 02, 2006 2:57 PM > Hey Guys > > > I have a 6800 Ultra, and I installed latest drivers (81.98) of nvidia > geforce. When I compiled my old working program with vertex & fragment > shader, I get this link error > > Vertex info > ----------- > (4) : warning C7506: OpenGL does not define the global variable > gl_ClipCoord > <stdlib>(9475) : error C5121: multiple bindings to output semantic "CLP0" > > The vertex shader code is > > void main() > { > gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0; > for (int i = 0; i < 6; i++) > gl_ClipCoord[i] = dot(gl_Vertex, gl_ClipPlane[i]); > gl_Position = gl_ProjectionMatrix * gl_Vertex; > } > > Wassup with gl_ClipCoord?. It did work before.... > > Any clue? > > Thx > Rhadamés Carmona > > _____________________________ > Unversidad Central de Venezuela > Facultad de Ciencias > Escuela de Computación > Laboratorio de Computación Gráfica > Tlf. + 58.212.6051390 > > > > > ----- > FAQ and OpenGL Resources at: > http://www.geocities.com/SiliconValley/Hills/9956/OpenGL > > -- > Author: =?iso-8859-1?Q?Rhadam=E9s_Carmona?= > INET: [email protected] > > Fat City Hosting, San Diego, California -- http://www.fatcity.com > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [email protected] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > ----- FAQ and OpenGL Resources at: http://www.geocities.com/SiliconValley/Hills/9956/OpenGL -- Author: =?iso-8859-1?Q?Rhadam=E9s_Carmona?= INET: [email protected] Fat City Hosting, San Diego, California -- http://www.fatcity.com --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [email protected] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB OPENGL-GAMEDEV-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).