Hello Keyan, On 11/08/2011 11:51 AM, Keyan wrote: > shadows work fine, for one exception. When I start my application, I have > artifacts, e.g. fragments of the screen saver of the last movie I watched in > my application window. They disappear, and never appear again, if I rotate > the camera towards the z-axis. I start my app with the camera pointing > towards the negative z-axis.
that probably is the content of a FBO that is used before it is written to, so you see whatever happens to be there in graphics memory. In that case it should only happen on the very first frame that is rendered, do you only render frames on demand (i.e. if the camera moves) or do you continually render? > if i start my application with setShadowOn(false), this behavior does not > occur. Am I missing some important initialization? I copied the shadow code > from the testShadowST2.cpp. Hmm, could also be a bug in the implementation of the ShadowStage. Which shadow mode do you use? Cheers, Carsten ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users