![]() Uniform mat4 gxl3d_ModelViewProjectionMatrix Here is an example of a simple OpenGL ES 2.0 vertex shader used in the demos I tested: I tested few GLSL Hacker demos and updated the GLSL shaders to make them compliant with OpenGL ES 2.0. I must say that I’m too lazy to tackle the configuration of a cross-compiler system, that’s why I compiled directly on the Raspberry Pi. I directly updated GLSL Hacker source code and compiled it on the Raspberry Pi, it was a bit slow but usable (I will try with a faster SD card to see if that will reduce compilation times). The nice thing is that Raspbian has all the tools I need to build GLSL Hacker: text editor, gcc/g++, OpenGL ES headers and libs and code samples. That was my first contact with OpenGL ES and the way to get a hardware accelerated window under Raspbian, the Debian-based operating system optimized for the Pi. ![]() I spent these few last days playing with my Raspberry Pi board and porting GLSL Hacker to this tiny computer. ![]() GLSL Hacker for Raspberry Pi is available HERE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |