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.

Common 3D Models in Research Papers

Morgan McGuire makes available a collection of Meshes that are common in recent papers. Most meshes are available in OBJ format. The Brown Mesh Set, also by McGuire, provides a huge collection (1139) of older models. These models are in IFS format. Sample source code to read them is provided in the G3D engine. The Large … Read more

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