Hey, If you can help me please do. So I want to paint a Cube/Box how do I. Cheers
PS Im not Using Unity 3.0
asked Jul 28, 2010 at 08:58 AM
You should be using Unity - because in Unity, it's very very easy ;-)
Now, to be really creative, add a light:
Now that you've seen how easy this is, Download Unity and get started ;-)
answered Jul 28, 2010 at 09:13 AM
If by 'painting' you mean changing the colour of the cube thats simple, if you mean make a complex texture for it, well actually putting it on the cube is just as simple; but you'll still need to actually create the texture in a 2D image editing program, like Paint, or Photoshop.
Both of these things can be applied in much the same way.
First create a material by either right clicking on the project panel, or on the little create button. then selecting 'Material'.
When that has appeared in your project window you can drag it on to the cube in your Scene View, or the name of the cube in the Hierarchy window.
Now your cube won't look any different yet because you have not actually changed any settings for the material. To do so click on the Material you created in the Project Panel, the Inspector Panel should now show the Materials properties; it will look something like this.
There are a number of things you can change about the material, like whether it uses a source texture, what background colour it has, and how it is effected by in game lighting.
Firstly to set a simple colour you can click the little swatch box (the one thats white in my picture) and choose a colour from that. As you do so you should see your cube now reflects that choice, however it may look a little darker. I will explain this next.
The most complex issue is how lighting will work, but i will skim over it for this question. It is controlled by the 'Shader' setting as shown in the image above, the default value is diffuse, this is acceptable for general lighting. Using this setting the cube will be dark where there's no light and lit up appropriately. However if you want the cube to show its true colours without having to have a light nearby you can change the setting from Diffuse to 'Alpha Blended' by clicking on the current setting then 'Particles -> Alpha Blended'.
Finally, if you want to add a texture you have created externally, you can click 'Select' or drag a Texture from your computer / or the Project panel on to the box, if you drag from somewhere else on your computer Unity will automatically import the texture into your Project folder and it will appear in the Project window.
answered Jul 28, 2010 at 11:56 AM