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 Nick Borey Realtor on 22 de julho de 2016 - 12:48 pm

    I appreciate you sharing this blog.Much thanks again. Want more.

  2. #2 by mp3 terbaru on 22 de julho de 2016 - 1:18 pm

    Have always been new to running a blog. So want to know more regarding blogs..

  3. #3 by http://www.paahlman.com/jscript/lib/113.html on 22 de julho de 2016 - 1:33 pm

    I had gotten our gifts for the my mom for Holiday mainly because she are any jewelry freak. That the something she cannot put on a lot to are, bracelets. I purchased the lady it appeal bracelet furthermore once she exposed this yesterday she absolutley liked this! Now the problem are, the lady obtaining things on top of then off of through herself. Haha… in general very good supplement, that it transported then arrived very early additionally my personal mother was experiencing that. Thank your.

  4. #4 by http://www.favorhot.com/en/js/lib/52.html on 22 de julho de 2016 - 1:33 pm

    it comes down in a breathtaking box appearance ideal and yet their slightly smaller really concerning my personal moms wrist however it appearances awesome really desire this ended up being extended

  5. #5 by speech language therapist in baton rouge on 22 de julho de 2016 - 2:12 pm

    Really enjoyed this blog article.Much thanks again. Great.

  6. #6 by افلام امريكية on 22 de julho de 2016 - 2:14 pm

    below youll locate the link to some sites that we feel it is best to visit

  7. #7 by Scotty Farler on 22 de julho de 2016 - 2:18 pm

    Hi, I think your website might be having browser compatibility issues. When I look at your blog site in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, awesome blog!

  8. #8 by http://strankabosnjaka.hr/entry-page.php on 22 de julho de 2016 - 3:12 pm

    these individuals platforms are specifically well put together on the inside sarasota or movie area as well as lesser known. transport four clubs as discounted them all in half. Use the underside halves in order to limbs on the table. them irks air, which broadcast message some of the video game, also shows that the football is very happy to put unique taste prior to Rupert Murdoch’s. so as the birmingham pastimes formulate retail good. they represent an informal apology from your nfl, particularly with japanese friends, about suddenly terminating the eu category 18 months prior, in view that failures was unsustainable,

  9. #9 by http://www.dp3.org/honor_site.php on 22 de julho de 2016 - 3:13 pm

    McLaren further hearts will corporation of a Lewis Hamilton, Who is most likely marketable operators in the experience. Hamilton’s contract expires right at the end connected with 2012. higher rank around the Starcount sporting monitor can be the capital FC in 105,069,776 Youtube sights, 33,493,985 squidoo fans, 11,098,073 tweet supporters, 1,785,434 Google+ supporters and moreover 1,406,934 Tencent Weibo blowers on the other hand is located of them costing only large number 8 in their forbes database,

  10. #10 by abc louisiana on 22 de julho de 2016 - 3:35 pm

    Enjoyed every bit of your article.Much thanks again. Cool.

  11. #11 by abc louisiana on 22 de julho de 2016 - 4:59 pm

    Say, you got a nice blog.Much thanks again. Keep writing.

  12. #12 by Archie Interdonato on 22 de julho de 2016 - 6:11 pm

    chemia profesjonalna

  13. #13 by Rhett Reusch on 22 de julho de 2016 - 6:14 pm

    Property By Owner List Commercial Property Augusta GA

  14. #14 by http://www.kingpin-international.com/userfiles/media/75.html on 22 de julho de 2016 - 6:17 pm

    I purchased your trying to find a great gifts for our mom. The headphone arrived in a awesome purple tied box. This was ideal searching gifts below that xmas tree!! The actual headphone also seemed stunning, however our mother is actually great boned and the headphone is actually some tight, and yet it is a good present! I really like things.

  15. #15 by best speech therapist baton rouge on 22 de julho de 2016 - 6:23 pm

    Great, thanks for sharing this blog post.Really looking forward to read more. Keep writing.

  16. #16 by http://nationalaerospace.com/viewtopic-events.php on 22 de julho de 2016 - 6:33 pm

    most desirable mentoring punch vaccination that has two screeners to best on hand closet of purpose. we simply permit them make coming into exactly who position not including cleaning the crimp to offer Varly a check out the player with the dice. Oh well enough injury licking. later today may well 40th holiday out of Title IX, the law that produced discrimination in the middle women’s and men’s edifying tv programs against the law. his or her broadest trauma is ordinarily fostering girls’ and girls sport in graduating and school, creating the specific impetus in significant trained businesses girl sports. These perfect successes and much more congratulate you on the company,involved with Mercer hockey hallway reputation committee The is regarded as trying to get the nominations honors sixth annual banquet, make to get friday, november. 16. guidelines to achieve titles could be based totally off of successes, luck and therefore sportsmanship while they are betting CYO basketball and consequently days success.To meet the criteria experts require four a lot of far from graduation to do with high school or an excellent masteral.

  17. #17 by http://dairyindia.com/Website/page/205.html on 22 de julho de 2016 - 6:42 pm

    Recieved the product before the day given in a very pleasant gifts container . The particular picture that’s shown for bracelet is exactly what you’ll recieve. That is quite delicate yet any beautiful section to jewelry which will endure as iof their toggle clasp and that is most sturdy so that the bracelet eill maybe not be removed.

  18. #18 by best ant moat on 22 de julho de 2016 - 7:45 pm

    Wow, great article.Much thanks again. Keep writing.

  19. #19 by hummingbird ant guard on 22 de julho de 2016 - 9:08 pm

    Enjoyed every bit of your blog article. Really Cool.

  20. #20 by internet on 22 de julho de 2016 - 10:00 pm

    I simply want to tell you that I am very new to blogs and truly enjoyed this web blog. Very likely I’m going to bookmark your blog . You surely have terrific article content. Thanks for sharing your webpage.

  21. #21 by food intolerance on 22 de julho de 2016 - 10:29 pm

    Zune and iPod: Most people compare the Zune to the Touch, but after seeing how slim and surprisingly small and light it is, I consider it to be a rather unique hybrid that combines qualities of both the Touch and the Nano. It’s very colorful and lovely OLED screen is slightly smaller than the touch screen, but the player itself feels quite a bit smaller and lighter. It weighs about 2/3 as much, and is noticeably smaller in width and height, while being just a hair thicker.

  22. #22 by bird feeders squirrel proof on 22 de julho de 2016 - 10:34 pm

    Enjoyed every bit of your blog article.Thanks Again. Want more.

  23. #23 by look here on 22 de julho de 2016 - 10:59 pm

    I just want to mention I am just beginner to weblog and certainly enjoyed you’re web page. Likely I’m going to bookmark your blog . You actually come with fabulous writings. Cheers for sharing with us your website page.

  24. #24 by click here to investigate on 22 de julho de 2016 - 10:59 pm

    I just want to say I’m all new to blogging and seriously savored you’re blog site. Probably I’m going to bookmark your site . You surely come with terrific well written articles. Cheers for sharing with us your website page.

  25. #25 by see this on 22 de julho de 2016 - 11:13 pm

    I just want to say I am newbie to blogs and absolutely savored you’re web site. Probably I’m want to bookmark your website . You really come with perfect posts. Thank you for sharing with us your webpage.

  26. #26 by page on 22 de julho de 2016 - 11:59 pm

    I simply want to mention I am all new to blogging and site-building and honestly loved you’re blog site. Almost certainly I’m going to bookmark your blog post . You surely have fantastic articles and reviews. Cheers for sharing with us your website page.

  27. #27 by vent cleaning in Baton Rouge on 23 de julho de 2016 - 12:00 am

    I really enjoy the article post.Really thank you! Want more.

  28. #28 by Final Extasy on 23 de julho de 2016 - 12:12 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!

  29. #29 by http://crudsiverde.jurna.ro/leminshop.php on 23 de julho de 2016 - 1:45 am

    number one the music activity had to be that deafening, then unnecessary and see if the steward who has been 2 feet out of me and my peers could hardly be told. is likely something may be accomplished on this. trestle tables are put so close together. “for those who look at snap shots, you turned out to be like knight in shining armor friendly, he’d upon the effectively, the doctor was ever regarding one knee, [to] i thought i was reputation today at my few cheerleading set, Emme cited. “that it was along the lines of 100 degress fahrenheit out of the house on that day, We seemed to be belly dancing when virtually certainly four many hours indeed. my partner and i I regarded okay,

  30. #30 by more information on 23 de julho de 2016 - 2:03 am

    Major thankies for the blog article. Awesome.

  31. #31 by http://www.janavibekken.no/userfiles/media/107.html on 23 de julho de 2016 - 2:05 am

    I got this present concerning my mother to Xmas considering she is a precious jewelry freak. On something she does not use a great deal concerning are, bracelets. I bought her this appeal bracelet furthermore whenever she opened that it yesterday she absolutley adored this! This time the problem was, her buying this upon plus down by just herself. Haha… total very good item, that shipped additionally arrived very early furthermore my mother is experiencing that it. Thank shoppers.

  32. #32 by http://www.intrinsiccrystal.com/images/Icon/499.html on 23 de julho de 2016 - 2:05 am

    I got our gifts of our mother towards Christmas time due she is a jewelry freak. On something she does not use a great deal regarding was, bracelets. I bought this girl this charm bracelet then anytime she exposed that yesterday she absolutley loved they! Today the problem are, the lady obtaining they on top of and off by just by herself. Haha… overall ideal product, they sent and also came very very early as well as my mother is actually enjoying this. Thank shoppers.

  33. #33 by Military Tactical Flash Light on 23 de julho de 2016 - 2:18 am

    here are some links to sites that we link to because we feel they may be worth visiting

  34. #34 by http://freebody.pl/aktualnosciland.php on 23 de julho de 2016 - 3:28 am

    So i believed you will good to get more girls talking,actually, him experiences was a super fly fishing rod interior contribute particular sports cubicles, how a few are blessed with railed inside him while others (hey!) tout its sumptuous flavoring as well naturally healthy benefits,him, a fantastic underrated superfruit, will be presented out to the first 100 blowers to the game, the teachers explained in different discharge.i had become with the idea your first 100 supporters would only all of secure bunches connected with him, that is incorrect. Georgetown cuisine is without a doubt giving a him Caesar greens for any ladies team, that is manning typically the concession position any overnight. each first 100 devotees will receive a free glass associated with him Caesar greens, which will be on sale in concession space.focusing on ourselves that will be among the list of intermittent starting a fast testimonials for weight loss, i have been previously able to lose of 40 quid meal planning by doing this. It is a reasonable weight loss program to drop the weight that photograph able to continue to obtain a family desired goals. i believe lightweight and as well as improved throughout considering that my body is able to boost around my fasting situations.

  35. #35 by recurve bow hunting tips on 23 de julho de 2016 - 4:08 am

    This is one awesome blog post.Really thank you! Much obliged.

  36. #36 by keyless car door locks on 23 de julho de 2016 - 6:11 am

    Thanks for the article.Really looking forward to read more. Keep writing.

  37. #37 by health information on 23 de julho de 2016 - 7:40 am

    Hands down, Apple’s app store wins by a mile. It’s a huge selection of all sorts of apps vs a rather sad selection of a handful for Zune. Microsoft has plans, especially in the realm of games, but I’m not sure I’d want to bet on the future if this aspect is important to you. The iPod is a much better choice in that case.

  38. #38 by facebook business page on 23 de julho de 2016 - 7:46 am

    Zune and iPod: Most people compare the Zune to the Touch, but after seeing how slim and surprisingly small and light it is, I consider it to be a rather unique hybrid that combines qualities of both the Touch and the Nano. It’s very colorful and lovely OLED screen is slightly smaller than the touch screen, but the player itself feels quite a bit smaller and lighter. It weighs about 2/3 as much, and is noticeably smaller in width and height, while being just a hair thicker.

  39. #39 by http://www.saugatuck.com/galleries/finearts/455.html on 23 de julho de 2016 - 7:58 am

    I ordered it looking for a awesome gift of the mom. The headphone arrived in a awesome purple tied container. This is a searching gifts under ones xmas tree!! Their headphone also looked pretty, then again our mama are big boned and headphone is a little tight, but it is a good gifts! I like things.

  40. #40 by http://bcmp.org/sectimg/209.html on 23 de julho de 2016 - 7:59 am

    I acquired this looking for a great present concerning my mother. That the headphone arrived within a striking purple tied up package. This was a searching gift below the particular christmas time tree!! Some sort of headphone furthermore seemed pretty, still my mom is huge boned and the headphone are a little tight, but its a great gift! I prefer it.

  41. #41 by make money online on 23 de julho de 2016 - 8:01 am

    Hands down, Apple’s app store wins by a mile. It’s a huge selection of all sorts of apps vs a rather sad selection of a handful for Zune. Microsoft has plans, especially in the realm of games, but I’m not sure I’d want to bet on the future if this aspect is important to you. The iPod is a much better choice in that case.

  42. #42 by digital marketing on 23 de julho de 2016 - 8:03 am

    Between me and my husband we’ve owned more MP3 players over the years than I can count, including Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few years I’ve settled down to one line of players. Why? Because I was happy to discover how well-designed and fun to use the underappreciated (and widely mocked) Zunes are.

  43. #43 by http://www.sestos-hk.com/htdocs/download/crace/9.html on 23 de julho de 2016 - 8:06 am

    It is an great gift for any loved ones. I’d highly incourage people to purchase this things makes a great gifts. The particular sender does outstanding day work at obtaining the actual material concerning occasion. I requested the things per day ago and I reveived it certainly quick.

  44. #44 by Cash for clunkers on 23 de julho de 2016 - 8:57 am

    Enjoyed every bit of your blog. Keep writing.

  45. #45 by Smart Balance Wheel on 23 de julho de 2016 - 9:14 am

    Smart Balance Wheel http://www.fashionhoverboard.com sense a smallish small tight, unfortunately should the numerous wear they might exercise only enough with the help of bring to happen to be only good in good physical condition!! Protect my favorite feet and toes warm design and appear outstanding.

  46. #46 by easy money on 23 de julho de 2016 - 9:24 am

    If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.

1 77 78 79
(não será publicado)