Relative Content

Tag Archive for c++opengl2dtexturescollision-detection

How to add accurate collisions in 2D opengl c++ game?

I have rectangular models with textures, texture is RGBA, now i have collisions when rectangulars touches each other, but i want collisions when you touch rgb channel of texture, i do not want to detect collisions on alpha channel