Quick question regarding entity definition for a gun model (for a first person shooter weapon). What I had done in the past was create the "shotgun_onscreen", give it an albedo value, then I would do a "sun_angle.pan = my.pan;" in the player code. This way when you rotate, the shadows move around on your weapon thats on screen. This only works for indoor levels though, as the sun position is moving all over the place.
Is there a better way of doing this? What are some methods you guys do to make your FPS guns look good?
Any help is greatly appreciated, thanks!
-Matt