Hi Community,
For some reason when I have RTT (attachment to the camera color) and later on applied to a quad as a texture, nothing is rendered. When I change it to regular Texture2D I am seeing expected result.
Here is the snippet
mainCamera->attach(osg::Camera::COLOR_BUFFER, mOsgMainColor, 0, 0, false, 8, 8);
mainQuad->getOrCreateStateSet()->setTextureAttributeAndModes(0, mOsgMainColor);
What do I miss?
Thanks a bunch as always!
Nick
--
trajce nikolov nick