offsetof macro in C
I just discovered this macro available in C: offsetof. Here is an simple example: struct { char a; int b;…
(GeeXLab) Bump Mapping et Self Shadow
Bump mapping – front face Share PostTwitterFacebook
Vertex Displacement Mapping in GLSL Now Available on Radeon!
As I said in this news, the release of Catalyst 8.10 BETA comes with a nice bugfix: vertex texture fetching…
Gamma Correction
I’ve coded today a small gamma correction filter in Smode. I’ll talk about gamma correction a little bit more very…
Multithreaded Build with Visual Studio 2005
Under Visual Studio 2005 (VC8), you can enable the multithreaded build of projects. This great feature makes it possible to…
Velvet Shader Preview
[French] Un petit shader GLSL de velour (velvet en anglais) ça vous dit? Et bien en voilà un, tout du…
GLSL float to RGBA8 encoder
Packing a [0-1] float value into a 4D vector where each component will be a 8-bits integer: vec4 packFloatToVec4i(const float…
Better, smaller and faster random number generator
I found this cool random generator on rgba’s website. rgba is a wellknown demoscene group specialized in 4k prods. This…
Small Log System
Here is a small piece of code that can be useful if you need to quickly generate traces (or log)…
Codage d’un Moteur de Ray-Tracing depuis Zéro en un Weekend
Voici un petit article sympa sur le codage d’un ray-traceur depuis zéro. Le code source du ray-traceur est fourni et…