Original Post
Hi!
I am new to OpenGL. I made a simple demo. 2 cubes rotating in space. First cube si bigger and textured. Second cube is half so big, without texture just colored(blue) and is inside the bigger one. They have the same center and rotate simultaneously(same speed and angle). I have blending turned on. The problem is that the bigger cube has a texture on it, but the texture is in blue shades(the color of the smaller one). when I don''t render the inner cube, everything is fine. I tried to turn off depth buffer or blending, drawing first the smaller one, the bigger one, but it''s always so. Thanx for any respond.