2 ms·
Game dev here. Just remember we cheat like crazy. If you are never going to see the backside of something it likely has never been shaded (or even modeled). Ju
by tomjen3 12y ago
Game dev here. Just remember we cheat like crazy. If you are never going to see the backside of something it likely has never been shaded (or even modeled).
Just as a couple examples: once we needed to show a which way enemies would move for a tower defense game so we made a custom skin that looked like arrows that moved along a path but was really just a mostly transparent image on a plane that was slowly being offset.
Another time we needed to make it look like you were in space, but to make that realistic you need thousands of individual stars - so we pre-rendered the six space images needed for the sides of a cube and just made the code that projects 3D images down to a 2D plane (ie your screen) always put it behind everything else, even if it was technically on a 1x1 box around the camera.
These days, sadly, I do 2D which means fewer tricks.