You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
之前有个
ant.terrain|canvas
用来在场景中的一个 3d 平面上绘制 2d 图标。最近我做新 demo 时感觉不太好用,而且文字支持也没有做完。所以我把它移去了 vaststars 项目下,从引擎中去掉。如果需要在 3d 场景中绘制 2d 图片、文字等,我想如果能利用 RmlUI 是最好的。
所以,今天我稍微改造了 RmlUI 模块,让它可以渲染到贴图上,然后,我们就可以把贴图用在任何地方。
#178
只需要在打开 RmlUI 页面时指定名字 "canvas" ,这个页面就是一个绘制到贴图上的页面了。在材质中指定贴图为 "canvas:" 就可以使用它。
Beta Was this translation helpful? Give feedback.
All reactions