One draw call for each shader, with dynamic meshes in Unity 3d: The Bob script.

This is a workflow for minimizing the draw calls in a scene. This technique speeds up the rendering considerably. Suppose you have a scene with 30 gameObjects that move independently, eg 30 cubes. If you press the Stats buttton on the Game view you will see that this scene has 30 drawcalls. Now, this is not a big issue when developing for the desktop, but what about mobile devices (ios, adroid)? It can be a bottleneck for your app.
What can be done ? You can combine the gameObjects.

Continue reading

Thyella-WIP

This is a preview of a game I am working on. I would appreciate your feedback. First, click the player window when it loads, so it will receive your input. You control the yellow spaceship with left-right arrows. Use z to fire, p to pause.
Best gaming experience in Firefox with no zoom. (ctrl-0 for Win, cmd-0 for Mac).

Continue reading

A new add-on for Unity3d : Vectrosity

Ever wanted to draw a line in Unity ? Not so easy until now. Eric5h5 created a fantastic add-on called Vectrosity that lets you draw fast and efficient lines ! Anti-aliased, colored, glowing lines. And points too !

Remember Tank Zone ? Here is a remake using Unity3d and Vectrosity. Notice that at the right botttom of the page there are four more demos.

Vectrosity is priced at 9.95 $ and I find the price / value relation excellent for two reasons: It costs less than a drink in a decent bar (each one has its reference points :) and it does what it says. Also, Eric has helped a lot of people i the Unity3d forums (more than 10000 posts so far) so supporting him is an investment towards unity community. If you are a part of this community, your investment practically returns to you :)

I purchased Vectrosity about a week ago and I am very satisfied with the quality of this add-on. I recommend it to anyone tried to draw lines in Unity3d.