Okay so im already able to do alot with opengl such as alpha blending on texels, texture mapping of different image formats(tga,png,bmp) with sdl data i know the lot :).
What i dont know is how to work with GLSL
can you tell me how and why i can’t get this to work ?
i’ll explain i need the output of infoLog in a stderr text file now i have never come across anything like this for example the infoLog while using OpenGL so i’m curious to the hows and whys of this
so please do enlighten me on this subject and give me any pointers,tips, and help to solving this
thanks in advance
if you have any good tutorials for GLSL please provide some too i need as much help as i can get for this shader language of sorts
im pretty sure my code up there is messed up lol so please do give me any tips nicely
im getting quite alot of declaration issues and i was just wondering how to declare inside a parameter or rather declare so it works within the code you gave me to learn from any ideas? iv looked at this site http://www.cplusplus.com/doc/tutorial/functions/ and have not found anything that has worked sorry to bug you, i would also like to ask why there is such a lack of information GLSL not to bash them or anything but its been very tuff to find information