knowledge

Gamma correction

Gamma correction in openGL is very easily to achieve, but why do you need gamma correction? Let's keep it simple... First of all your textures you use as input for your openGL renderer are most likely in non linear color space. Your renderer on the other hand is probably calculating light under the assumption of linear color spaced color values in your loaded textures. So you might be working in two different color spaces. After your renderer is done it writes the colors to the screen, which uses non linear color space like your textures do! So what happens is, that your calculation might be visually wrong... So how can you solve this? The answer is very easy: (more…)

By AJ, ago
3D QT Engine

Skyboxes !!!

Not much to say, skyboxes add a lot to a 3D scene! Here are two early screens. Not everything works like it should atm, but it’s close!

By AJ, ago
3D QT Engine

Engine progress

[gallery link="file" columns="2" ids="675,673,672,670"]   During some days i worked over 8 hours on features or bug fixes, but i think it was worth it. A lot of changes happened to my little engine in the past few weeks so let's sum up a few of them ...   (more…)

By AJ, ago