Help end child hunger
Feb 152013
 

texturedThe GLSL Core Tutorial has a new section for image texturing. Images are commonly used as wallpaper applied to 3D shapes to create a variety of effects. In this section we focus on the OpenGL and GLSL typical scenario of texture usage, and explore a few new GLSL functions, such as textureSizetextureQueryLod, and textureQueryLevels.

Jan 222013
 

Notepad++ is a great text editor and I keep using over and over. I found some GLSL syntax highlight UDL files in the site but they were not up to date and most importantly they we’re not prepared to work with dark themes. So I made two UDLs for GLSL 4.3. One for the default theme and another to use with dark themes. The extensions supported are: vert frag geom tesc tese v f g.

The zip file contains both. To install the themes go to “Language”->”Define your  language”. In the “User Defined Language” dialog select import to load the files into notepad++.

Here are some screenshots. Light version with default theme:

notepad1

 

 

 

 

 

 

 

 

 

Dark version with Monokai theme:

notepad2

 Tagged with:
Feb 212012
 

The updated version of GLSL tutorial. Only the core version will be dealt in this tutorial.

The tutorial is, and will be in the near future, in construction. I don’t plan to close it, at least in the near future, unless a new version of OpenGL changes everything again.

I’ll be adding content from time to time, initially to get the base complete, and afterwards to provide examples.

The tutorial does not intend to replace the specs as THE source to fully grasp GLSL and OpenGL. The specs are essential, but can be hard to start learning. So consider the tutorial as a gentle introduction to the theme.

As always, your cooperation is a must to get things right. Tutorials always have bugs, mistakes, and things that are not clearly explained. Furthermore, I might get somethings wrong, but please be gentle 🙂 Your feedback is important.

Well, this is it. Have fun playing with GLSL and OpenGL!

Move on to the Index.