RenderingPipeline

from geometry to pixels

GLSL

Some thoughts about the Vulkan API (glNext) and the future of OpenGL

Today the Khronos group announced officially the name of the new cross-plattform 2D/3D and compute API which will be (kind of) the successor of OpenGL. So far it was named “Next Generation OpenGL Initiative” or shorter: “glNext”, the official name will now be Vulkan (btw. the german name for Vulcano). I read at some places, […]

 

, , , , , , , ,

GLSL Syntax Highlighting for OpenGL 4.4

The syntax highlighting definitions for QT Creator, KDE Kate, TextWrangler and BBEdit have been updated for OpenGL 4.4 (GLSL 440).  The update includes a fix of one typo and highlight the noise functions in QT Creator as not available ( e.g. noise4(); ) as those are defined as deprecated beginning with GLSL 440 and are […]

 

, , , ,

GLSL Syntax Highlighting for TextWrangler & BBEdit

I hacked together a very simple codeless language module for TextWrangler (also compatible with BBEdit) for GLSL shaders. It is much simpler than the Kate/QTCreator highlighting and only highlights GLSL version 430 (core profile) but it’s better than nothing (In case you are writing shaders for OpenGL ES 3.0, or OpenGL 3.0 – 4.2 it […]

 

, , , , ,

GLSL Syntax Highlighting for QTCreator (and Kate)

The syntax highlighter in QTCreator for GLSL shaders is currently far from ideal: It’s basically stuck at OpenGL 2.1. If you write shaders for OpenGL 3 (and later) or OpenGL ES 3, you will see a lot of red marks indicating errors in your code simply because QTCreator doesn’t know the latest keywords. On the […]

 

, , , , , , ,

First hints of OpenGL 4 on MacOS X?

No Mac currently supports more than OpenGL 3.2 even tho all current Macs could support OpenGL 4.x. Apple doesn’t comment on this situation but it seems, that at least some features of newer GL versions made it into the drivers. The lastest GLSL version MacOS supports is 150, at least that’s what glGetString(GL_SHADING_LANGUAGE_VERSION) tells us. […]

 

, , , ,

Book Review: GPU Pro, GPU Pro 2, GPU Pro 3

The GPU Pro book series is some kind of unofficial successor of the quite good ShaderX series. Both are edited by Wolfgang Engel and both are focused on real-time graphics programming. The first book of this series, GPU Pro, came out 2010 and presents 41 articles on 706 pages (not counting the author introduction at […]

 

, , , , , , , ,

Learning OpenGL

Back in the days when I started with OpenGL the question where to start was often answered in the same way: Get a copy of the Redbook and/or look at the NeHe Tutorials. Since then OpenGL has moved on but these ressources not so much. The Redbook covers also more modern OpenGL but still starts […]

 

, , , , ,

Partially Resident Textures – AMD_sparse_texture

AMD has just released more infos about the new feature of the Radeon 7xxx GPUs: Partially Resident Textures. PRT is a new way of getting some hardware support for MegaTextures / VirtualTexturing as it is for example implemented in Rage right now and as it is planned (with PRT support) e.g. for Doom 4. The […]

 

, , , , , , ,

Shader Model and GLSL versions

When reading articles about graphics programming you come alone the term ‘Shader Model’ and version numbers for GLSL, OpenGL and Direct3D (depending on the API used in the article). While the described algorithms (nearly always) can be implemented in the ‘other’ API as well the different versioning schemes can be confusing – what OpenGL version […]

 

, , ,

GPU Rasterizer Pattern

Visualizing the pattern in which the fragment processors are called for the individual fragments are some kind of ‘Hello World’ for atomic counters. The order in which the fragments generated by a draw call are created and the fragment shaders are calles are not defined, so the hardware can choose each order that best matches […]

 

, , , , ,

Previous Posts