With "Opengl Shading Language 3rd Edition" and Visual Studio 2010, i started learning about shaders, write a simple vertex/fragment shader program and after reading same chapter in "orange book" start writing a simple program which loads both shaders programs from file.
Before that I using only freeglut library for tutors from "redbook"-"OpenGL Programming Guide 7th Edition", as recommended there, so i include only "glut.h" from freeglut.
You will ROFL a lot about me but...
glCreateProgram,glAttachShader,glLinkProgram e.g all functions about compiling shaders program are undefined.
I tryed include build- in studio <gl\glu.h>,<gl\gl.h>, every header in freeglut inc folder such a "freeglut.h","freeglut_ext" but all in vain.
I understand what this question got nomination in "The Most Stupid Newbie Question about GLSL"
Linking and usage of shaders in OpenGL
include the irrlicht OpenGL extension handler. (or something similiar).
in wich you can find correct headers files. I did the same for obtain the control over gl shaders.. also remember to give a thanks to the irrlicht engine
in wich you can find correct headers files. I did the same for obtain the control over gl shaders.. also remember to give a thanks to the irrlicht engine
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Thank you, Red Demon!
The OpenGL Extension Wrangler Library aka GLEW i forgot about this one! Thank you!