XNA Point,Spot and Directional Light Samples


In the last months i made two tutorials about phong shading in portuguese (here and here).

I developed two XNA 4.0 samples showing how to build (in hlsl) points, spot and directional lights. As a bonus, i also added some others cool stuffs in the projects =P Check it =P. All samples uses the PloobsEngine as a base.

The Links for download are:

Directional Light

Point and Spot

The samples uses the PlobosEngine, but you can EASILY reuse the hlsl light shaders. The project was made for a tutorial, so it is not optimized.

You can do wherever you want with the code sample =P

  ScreenShots:

 

 

 

, , , , , , , , ,

  1. #1 by Vonnie Bath on 26 de agosto de 2016 - 8:24 am

    Wow! This information is astounding!! I will suggest it to my family and any person that could be enticed by this subject. Great work guys :)

  2. #2 by Rosana Piedra on 26 de agosto de 2016 - 8:57 am

    Hey! This site is amazing. I will suggest it to my friends and any person that could be interested in this object. Great work girls!

  3. #3 by Smart Balance Wheel on 26 de agosto de 2016 - 9:05 am

    naturally i bring in Smart Balance Wheel http://adf.ly/6249830/banner/www.fashionhoverboard.com everyday relating to the same as Twenty pairsfashion in winter in addition to functioning in the summer

  4. #4 by streming film gratuit on 26 de agosto de 2016 - 9:23 am

    I am so grateful for your article.Thanks Again. Fantastic.

  5. #5 by how to make an app on 26 de agosto de 2016 - 9:57 am

    Here are some of the web-sites we suggest for our visitors

  6. #6 by http://dammbindning.nu/settings/app/251.html on 26 de agosto de 2016 - 10:56 am

    it comes in a gorgeous package styles ideal although it is slightly tiny additionally for the my personal parents wrist but it appearances very good simply really want that it ended up being further

  7. #7 by http://ssl24.ballou.se/Upload/Documents/temp/488.html on 26 de agosto de 2016 - 10:56 am

    I got that gift for the the mom towards Holiday due she are your precious jewelry freak. Ones one thing she cannot use much of is, bracelets. I purchased this girl the appeal bracelet as well as whenever she exposed that it yesterday she absolutley liked things! This time the problem was, this girl getting that on top of and/or off simply by by herself. Haha… overall great supplement, that it shipped and also appeared very very early additionally my personal mom is experiencing things. Thank you.

  8. #8 by seo selbst machen on 26 de agosto de 2016 - 11:31 am

    Thanks so much for the blog.Really looking forward to read more. Great.

  9. #9 by http://westermarkanjou.se/js/liy/141.html on 26 de agosto de 2016 - 12:05 pm

    This is an awesome present for the your very own family. I’d highly incourage people to invest our that makes a awesome gift. On transmitter performs a great time task in acquiring some sort of products on top of time period. I purchased our products a day back and I reveived it certainly quickly.

  10. #10 by fast loans on 26 de agosto de 2016 - 1:14 pm

    Thanks-a-mundo for the blog post.Much thanks again. Really Cool.

  11. #11 by http://watercloud.cc/css/bin/212.html on 26 de agosto de 2016 - 2:05 pm

    The headset was as stunning since inside photo. It arrived promptly. I’d encourage utilizing a towel through every coating while you hit information technology away w / one vapor iron. It doesn’t steam out through only a steamer. The iron had been needed. It can be fine, when you cannot trust your self because of the towel to steam iron, then consume that to a certified. Pretty sound.

  12. #12 by http://sewasansthan.org/temp/321.html on 26 de agosto de 2016 - 2:06 pm

    This particular headset is because spectacular just as into the picture. That came promptly. I would recommend using a towel above every single layer while you click they off w / any vapor iron. It does not steam away and merely a steamer. The actual iron had been necessary. It can be sensitive, so if you you should not trust personally with all the towel and steam iron, well need it up to a professional. Breathtaking noise.

  13. #13 by japan railpass on 26 de agosto de 2016 - 2:54 pm

    some genuinely select blog posts on this website , saved to favorites.

  14. #14 by deko basteln on 26 de agosto de 2016 - 4:31 pm

    it is part of it. With a boy, you will have

  15. #15 by Besuchen Sie die Website on 26 de agosto de 2016 - 5:54 pm

    Freitag, März 2nd, 2012 Das ist ein unglaublich einmaliges Gefühl, seine geballte Hand tiefer und tiefer zwischen die gespreitzten Oberschenkel einer Steuerberaterin zu stopfen.

  16. #16 by my website on 26 de agosto de 2016 - 5:55 pm

    Zune and iPod: Optimum Those people assess the Zune in direction of the Contact, still as soon as looking at how slim and shockingly minor and light-weight it is, I just take it in the direction of be a fairly exclusive hybrid that combines attributes of both of those the Contact and the Nano. It can be Quite vibrant and gorgeous OLED display screen is a little bit smaller sized than the contact screen, nonetheless the participant by itself feels reasonably a bit lesser and lighter. It weighs relating to 2/3 as a lot, and is substantially lesser within width and peak, while currently being accurately a hair thicker.

  17. #17 by create your own app on 26 de agosto de 2016 - 7:36 pm

    The info talked about in the post are several of the very best accessible

  18. #19 by http://lantmastarforbundet.org/Script/lib/191.html on 26 de agosto de 2016 - 10:53 pm

    This is an awesome gifts to the family. I’d highly incourage individuals to purchase it they will make a ideal gifts. On sender can a good evening duty with obtaining that the products on occasion. I requested my items a day back and I also reveived it really accelerated.

  19. #20 by http://www.handledareinorr.se/bild/html/4.html on 26 de agosto de 2016 - 10:54 pm

    It is an awesome gift for your very own loved ones. I’d highly incourage individuals to pick the information technology will make a very good gifts. Your transmitter will a great evening task in buying the particular stuff on instant. I requested the products per day back and I reveived it really quickly.

  20. #21 by cleaning listener.log on 27 de agosto de 2016 - 2:35 am

    I have not checked in here for some time because I thought it was getting boring, but the last several posts are good quality so I guess I will add you back to my everyday bloglist. You deserve it my friend :)

  21. #22 by fireplace lawrence ks on 27 de agosto de 2016 - 5:26 am

    I truly appreciate this post. I’ve been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thank you again!

  22. #23 by organic moringa on 27 de agosto de 2016 - 5:30 am

    I think other site proprietors should take this web site as an model, very clean and great user genial style and design, as well as the content. You are an expert in this topic!

  23. #24 by Clyde Koerper on 27 de agosto de 2016 - 5:35 am

    Ambien online

  24. #25 by Jessie Kogel on 27 de agosto de 2016 - 5:36 am

    free xbox live gold codes

  25. #26 by Hyman Sarelas on 27 de agosto de 2016 - 5:36 am

    Paid online surveys syracuse

  26. #27 by this link on 27 de agosto de 2016 - 5:48 am

    I like what you guys are up also. Such intelligent work and reporting! Keep up the excellent works guys I¦ve incorporated you guys to my blogroll. I think it will improve the value of my site :)

  27. #28 by SATTA MATKA RESULT on 27 de agosto de 2016 - 10:57 am

    we came across a cool web page which you could possibly delight in. Take a appear in the event you want

  28. #29 by http://builtenvironment.in/madia/327.html on 27 de agosto de 2016 - 12:02 pm

    It is an awesome gift concerning your very own loved ones. I would highly incourage individuals to pick your it makes a great present. Ones transmitter does a great day work in obtaining the material on duration. I requested the things per day ago and I also reveived it certainly quickly.

  29. #30 by http://bcmp.org/sectimg/368.html on 27 de agosto de 2016 - 12:03 pm

    Recieved this product before the time provided in a really great present package . Some sort of photo that is displayed for bracelet is actually exactly what you will recieve. This can be really sensitive though the best gorgeous part out of precious jewelry which will endure due to the fact iof on toggle clasp and is extremely sturdy so that the bracelet eill not really be removed.

  30. #31 by http://janscooutdoor.com/cp/public/113.html on 27 de agosto de 2016 - 1:06 pm

    I got this particular gifts for the my mother for Christmas time mainly because she is the jewelry freak. The something she does not don a great deal out of is, bracelets. I bought her your appeal bracelet to when she opened things yesterday she absolutley enjoyed information technology! Today the problem is actually, the lady obtaining that it at as well as off through herself. Haha… total great supplement, that shipped and/or came severely very early and/or the mother is actually experiencing they. Thank people.

  31. #32 by http://morarka.com/web/303.html on 27 de agosto de 2016 - 1:07 pm

    it comes within a perfect box seems awesome and yet its slightly smaller also concerning my personal parents wrist but it appears ideal exclusively want that it is further

  32. #33 by http://orestadsbygg.se/bilder_ref/236.html on 27 de agosto de 2016 - 3:49 pm

    This one headset ended up being because stunning because in the image. That came immediately. I would encourage getting a towel through every level while you click information technology over w / per steam iron. It doesn’t vapor over alongside only a steamer. The actual iron was important. It is very fine, so if you do not trust yourself with the towel and/or steam iron, and then take they to a certified. Striking noise.

  33. #34 by http://www.famergturn.no/userfiles/media/180.html on 27 de agosto de 2016 - 3:50 pm

    Our headset was since beautiful just as in the picture. That appeared promptly. I’d suggest choosing a towel over each and every coating as you push they away w / the steam iron. It doesn’t steam out alongside merely a steamer. Your iron is required. It can be delicate, so if you never trust your self because of the towel and also vapor iron, and then bring that it up to a certified. Perfect noise.

  34. #35 by iklan baris gratis on 27 de agosto de 2016 - 4:30 pm

    I want to start a website and I have no clue how. They have to be free of charge and easy, and I want other people to be able to comment on articles/pictures. Any recommendations?.

  35. #36 by hier umgeleitet on 27 de agosto de 2016 - 5:19 pm

    Ich stand auf der Sonnenseite.

  36. #37 by http://www.nbzdfb.com/editor/skins/common/49.html on 28 de agosto de 2016 - 3:53 am

    The headset was as beautiful as into the photo. Things came immediately. I’d advise utilizing a towel during each and every layer as you press they over w / a vapor iron. It does not vapor out and merely a steamer. The iron was important. It can be delicate, when you cannot trust yourself aided by the towel plus steam iron, therefore accept they to a expert. Awesome audio.

  37. #38 by http://cetel.se/html/96.html on 28 de agosto de 2016 - 3:54 am

    This particular headset ended up being since breathtaking just as in the image. Things appeared quickly. I would encourage utilizing a towel during every level as you push they off w / any steam iron. It does not steam away using only a steamer. On iron was important. It can be delicate, so if you cannot trust your self with the towel to steam iron, then need information technology to a certified. Stunning seem.

  38. #39 by Erwin Dungey on 28 de agosto de 2016 - 5:49 am

    Wonderful points altogether, you simply won a emblem new reader. What could you suggest about your submit that you simply made some days ago? Any positive?

  39. #40 by Gun Control on 28 de agosto de 2016 - 8:19 am

    This website is amazing. I will tell about it to my friends and anybody that could be interested in this subject. Great work guys!

1 112 113 114
(não será publicado)