How to create a Directional Icon for your game…(www.temporalwars.com)
submitted by
berben11(75) 11 months, 8 days ago
Using some of the feedback, I decided to add the ability to display a ‘Directional Icon’ in the game engine. The idea was to display the icon anywhere in the game world, have it look like it’s painted on the ground floor, and be able to set the color, position, scale and rotation from a scripting-like call. But how would you do this? You could create a separate effect, but then you would have to pass in the light matrix, view matrix, and the details from the terrain map, etc. Also, optimization is key point here when dealing with the Xbox, so it was critical to come up with a solution which fit into the original Terrain’s shader code. read more...
|category: XNA
|Views: 15
tags:
XNA another
Everyones tags:
Your Tags: