GLSL Core Tutorial – Texturing with Images plus Querying

The 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 textureSize, textureQueryLod, and textureQueryLevels.

GLSL Core Tutorial Update – Playing with Texture Coordinates

Based only on texture coordinates some interesting shaders can be built. In this new section of the GLSL Core Tutorial, a few common shaders, namely the stripes and grid shaders, will be explored. Basic antialising and GLSL functions mix and smoothstep will also be discussed. Source code and a VS2010 solution are also provided.

Notepad++ GLSL 4.3 Syntax Highlight

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 … Read more

Update on GLSL Core Tutorial

The Lighthouse3D GLSL Core Tutorial has been updated with a few sections, namely how to check the result of the compilation and linking operations, freeing up resources, and how do shaders communicate between themselves on modern OpenGL. The shader interfaces are presented and discussed, with examples and a comparison between the several mechanisms OpenGL provides.

GLSL Core Tutorial

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 … Read more