How do I go about implementing and using a custom vertex deceleration in monogame for windows phone 8. I want to be able to store a position, a colour and a normal?
\$\begingroup\$
\$\endgroup\$
3
-
\$\begingroup\$ Have you accomplished this with XNA since you used it as a tag? It's the same process. \$\endgroup\$– DialockCommented Jun 9, 2013 at 17:35
-
\$\begingroup\$ As I understand it monogame is supposed to work the same as xna 4.0, but I have bot managed it on xna yet though \$\endgroup\$– GerharddcCommented Jun 9, 2013 at 19:01
-
\$\begingroup\$ gamedev.stackexchange.com/questions/46518/… \$\endgroup\$– DialockCommented Jun 9, 2013 at 19:08
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
I ended up using a cross breed of the following two tutorials:
http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Terrain_lighting.php
and
http://msdn.microsoft.com/en-us/library/bb976065(v=xnagamestudio.40).aspx