Jump to content

There are two problems in WidgetSpriteShader!!


photo

Recommended Posts

Posted

1.WidgetSpriteShader can not be used in ObjectGui.If set post material to WidgetSpriteShader, the WidgetSpriteShader can not be seen in ObjectGui.

2.WidgetVBox can not addChild with WidgetSpriteShader, if WidgetVBox setPosition(not zero),the WidgetSpriteShader's(is setted material) position will be wrong.

I hope you can solve these problems, thanks...

Posted

Could you please add some code for for the problem 2 ?

I tried to reproduce but it works. Look at the attachment (just replace the ui_01.cpp file in \data\samples\widgets)

ui_01.cpp

Posted

oh, I'm sorry,the problem 2 has been solved in new Version of the engine ...

But Problem 1 puzzle me much...

×
×
  • Create New...