Drawing to a texture in Unity is very slow
I have been learning Unity for the last few weeks in order to create a simple ant simulation. The way I was rendering everything was writing to a texture the size of the camera in the Update function. It works, but problem is that it is extremely slow, getting only around 3-4 FPS doing so. What could be done to speed it up? Maybe a completely different way of rendering? Here is the code of a simple test where some Ants just move around in random directions. I have the AntScript.cs attached to the camera with a texture under a Canvas where everything is being written to. AntScript.cs using Syst
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.