Tag Info

New answers tagged

1

A couple days of googling, testing, coding and I have it all figured out. 1. Shadows on Sprites.. There is a work around to having sprites cast and receive shadows. This thread in the unity forum has a way to do it with sprites: http://forum.unity3d.com/threads/why-cant-sprites-gameobjects-cast-shadows.215461/ The other way is to create your own sprite ...


3

A smart bubble/insertion sort is faster than quick sort when the array is already mostly sorted (reused on the next frame). To speed up the copy of data rather than copying entire vertex values use an index buffer to sort the vertices. When you remove quads you can quickly degenerate them (set all vertices to the same value) instead of removing them and ...



Top 50 recent answers are included