abou.konate Posted October 5, 2012 Share Posted October 5, 2012 Hello, Is there anyway to make WidgetSpriteViewport behave as WidgetSpriteNode ? I don't want to have an opaque background instead I would like it to be filled an fully transparent alpha value. Thanks Link to comment
ulf.schroeter Posted October 5, 2012 Share Posted October 5, 2012 https://developer.unigine.com/forum/topic/854-solved-viewport-background-transparancy/page__p__4076__hl__viewport#entry4076 @UNIGINE this feature had been requested numerous times, so maybe out-of-the-box support would make a lot of users happy. Link to comment
abou.konate Posted October 8, 2012 Author Share Posted October 8, 2012 Thanks ulf.schroeter, it's seems that I did the same thing that carl.sutton, adding a dummy root for my hierarchy. I'm agree with you or they should add a better explanation of the deep differences between WidgetSpriteNode and WidgetSpriteViewport. Link to comment
manguste Posted October 22, 2012 Share Posted October 22, 2012 Abou, WidgetSpriteNode supports alpha, since it is used specifically to render separate nodes. It does not support engine postprocesses (like HDR, DOF, motion blur, glow, etc.); only postprocess materials can be applied to it. WidgetSpriteViewport is used to render the whole scene, with all postprocesses. But the composite shader does not support alpha. I've added this into class descriptions in docs. Link to comment
Recommended Posts