Hi Community,

I am using ShadowedScene in a graph as follows:

mainCamera
|
ShadowedScene

Like this I have the correct look. When I want to add it into a subgraph
of  an RTT camera it seems like the ViewMatrix passed to the shaders is
somehow messed up. This is the graph where it doesn't look right and the
shadows are all moving as I move the main camera:

mainCamera
|
RTT camera
|
ShadowedScene

In an update callback I set the RTT view matrix to be the same as the main
camera.

The reason I need an RTT camera is to attach a color and depth buffer to
the camera for further usage in the app.

Any hints, clue?

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-%2Bzi%3D0_YgnrTdWU_oV8%3Dn6yi2jDPQ%2BH9nFU%2Bn9H9rhFDzW2w%40mail.gmail.com.

Reply via email to