Hi Julien,
Your answer was right and your help very much appreciated!
PS: as an added note, the platform I use has a rather dull GPU and I had to
downgrade
Code:
#define GLSL330(program) "#version 150\n" #program
to
Code:
#define GLSL330(program) "#version 130\n" #program
For it to
Hi Julien,
Thanks for getting back to me, your post seems relevant but I am having another
(unrelated) issue before I can fully test the fix code. I will post a separate
issue.
Thanks a lot,
Antoine
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?
look command line results
Code:
0(2) : error C7616: global function ftransform is removed after version 140
arennuit wrote:
> Hi all,
>
> The following code renders the square in red (fixed pipeline) rather green
> (shaders), I guess the shaders are not used.
>
>
> Code:
>
> #define GLSL3
Hi all,
The following code renders the square in red (fixed pipeline) rather green
(shaders), I guess the shaders are not used.
Code:
#define GLSL330(program) "#version 150\n" #program
const char* vertSource = GLSL330
(
void main(void)
{
gl_Position = ftransform();
}
);
c
4 matches
Mail list logo