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

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/CAO-%2Bzik6S5fNy2ChPd_zNYWOv6JCEWSCVVYvgzOESVZ5GWO5CA%40mail.gmail.com.

Reply via email to