[osg-users] Centroid Varying Shader Variable

2008-07-07 Thread paul1492
I'm attempting to define a "centroid varying variable": Why do I need the "#version 120" line? I send my shader programs through the C-Preprocessor (cpp) before giving them to OSG and CPP doesn't like this line (clearly it thinks its a command it

Re: [osg-users] Centroid Varying Shader Variable

2008-07-07 Thread paul1492
ject: [osg-users] Centroid Varying Shader Variable I'm attempting to define a "centroid varying variable": <http://www.opengl.org/pipeline/article/vol003_6/> Why do I need the "#version 120" line? I send my shader programs through the C-Preprocessor (cpp) before giving them

Re: [osg-users] Centroid Varying Shader Variable

2008-07-07 Thread Gordon Tomlinson
And the answer was ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, July 07, 2008 5:31 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Centroid Varying Shader Variable Never mind I guess I found my answers

Re: [osg-users] Centroid Varying Shader Variable

2008-07-07 Thread paul1492
Original Message From: Gordon Tomlinson <[EMAIL PROTECTED]> To: OpenSceneGraph Users Sent: Monday, July 7, 2008 5:34:18 PM Subject: Re: [osg-users] Centroid Varying Shader Variable And the answer was ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Re: [osg-users] Centroid Varying Shader Variable

2008-07-08 Thread Mike Weiblen
On Mon, Jul 7, 2008 at 5:16 PM, <[EMAIL PROTECTED]> wrote: ... > You would have thought that a 1.2 compiler would be able to compile all > earlier version of the language but they decided to implement it such you > must tell the compile your using 1.2 of the language. the rationale is that the