I'm working on a school project, and I'm having some trouble getting some of the final touches done.
We were using textured planes to apply bullet and burn marks to things, but frankly it just doesn't look very good, and get's expensive pretty quickly.
I've read as much as I can about getting a UV coordinate from a raycast, but I haven't found any examples in C#, so I'm not quite sure how to proceed. Can anyone point me in the right direction or provide any tips?
I found this example, and although I can read JS pretty well, I'm not entirely certain what's going on: http://unity3d.com/support/documentation/ScriptReference/RaycastHit-textureCoord.html
For one thing, that'll paint individual pixels, and I want to load a bullet texture in. How do I do that? What should it (the texture) look like - will it be full colour? What about transparency?
Any help would be appreciated!
Could you use Projector instead of working with Texture2D.SetPixel()?
With a Projector you can:
answered Mar 19 '12 at 01:01 AM