I’m talking about the big Corellion ships…

Okay, so we now have a script that creates a cube-mesh from scratch and assigns in UV’s from one single texture atlas. In other words, when I place a “Metal Block” it’s actually just creating a gameobject with a box collider, empty mesh filter, mesh renderer with texture atlas, and this new script on it. The script then creates the mesh, assigns its UVs accordingly, and renders it. This is pretty rad because it has increased performance so much that a ship like the one above, composed of thousands of cubes, can be rendered at around 60 fps. Pretty badass. I’m happy.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s