Hy,
how i can setup a spot light in opengl?
the code changes on the different versions of opengl?
How i know what type of opengl i'm use?
thanks.
Hy,
how i can setup a spot light in opengl?
the code changes on the different versions of opengl?
How i know what type of opengl i'm use?
thanks.
To query version of OpenGL on linux type
on Windows there are number of programs which can do that, for example OpenGL Extension Viewer (GLView or sth. like that)Code :glxinfo | grep "OpenGL version"
link: http://www.realtech-vr.com/glview/download.html
Spot light setup (old way, fixed pipeline - Opengl 1.x (mostly deprecated))
http://jerome.jouvie.free.fr/OpenGl/...Tutorial13.php
Spot light setup (new way, shaders, GLSL)
http://www.lighthouse3d.com/opengl/g...dex.php?lights