Alpha Channel and Transparency
You can easily add transparency to any texture, and even set different values for every individual pixel by using the Alpha channel. Normally, each pixel has 3 values that define it’s color, one for Red, one for Green and one for Blue channel. By mixing these three you can achieve any color that a normal
- Published in Tutorials
OpenGL picking tutorial
OpenGL picking tutorial This tutorial will show you how to determine the point in 3D space that a selected pixel represents. The process is called picking, and in games it’s most often used for selecting 3D objects, determining at which point on the terrain the user has clicked in RTS game, and some lower quality
- Published in Tutorials
OpenAL Tutorial – Introduction
OpenAL Tutorial – Introduction Here is an example of a fully functioning, copy-paste ready code(as soon as you include libraries) you can use to play sounds in your program with OpenAL. Some part of it is made of tutorials I found on internet(unfortunately I couldn’t get any of them working right away and they all
- Published in Tutorials