I was just testing out some physics and I decided to draw some of my physics actors as solid filled shapes, by using the following code, which I'm calling in the object's drawPrepare() method.
Code:
actor.draw(Color(0,0,0),true);
I have now noticed something very strange, which can be seen in the sequence of screen shots below.
1. In the first shot, the camera is pointing up at the sky. The black area is the physics actor drawn using the above code.
2. In the second shot, I start moving the camera down to point more at the drawn physics actor. Look what starts to appear in the top left corner.
3. In the final shot, I'm pointing the camera directly at the physics actor. The RTT in the top left corner is full visible now.
It appears to be a relfection RTT for the water. I can make out some other objects in my scene that are being rendered as a reflection to this RTT.
I'm wondering why this is here and why it only appears when overlapping with a drawn physics actor? Is this a bug or something left over from testing the water, or am I doing something wrong?