0

I am sure this will be easy for a Unity expert.

If we were making a game like FLOW Click here to see FLOW

and all we needed were some simple colored circles which the user must click and drag, then can these be rendered by Unity, or do we need to actually import a PNG of a circle?

I am sure Unity would be capable of rendering a flat solid circle, which I think would look better and behave better when scaling up/down? And would it be lighter/more efficient on the game engine?

A solid colored sphere perhaps, or a cylinder with minimal depth? Whats the best solution?

Thanks a lot Steve

4

1 回答 1

0

最佳未定义。你可以用三角扇画一个圆圈。或者您可以使用带有着色器的平面(或之前的三角形风扇)。这两种技术的好处是它们可以抗锯齿 (AA)。着色器的优点是它确实是一个无限精度的圆,并且可以将 AA 制作成非常好的质量。

真正的问题是你为什么首先想要一个 3d 引擎?这是一个着色器的示例,除了着色器之外的其余场景没有任何意义。

http://webglplayground.net/saved/ng3BkJNHfN

于 2013-05-05T20:31:17.703 回答