BrownBot Logo BrownBot Head

XNA Invaders 2

11:49 am Filed under: Game Code

I’ve been consumed with learning shaders the past couple of days, progress has been good, I’ve gone from thinking they were some black magic code that only the graphic programming l33t could ever understand too leveraging the power of them to create a simple shader of my own design.

It’s been pretty intense and poor ole Zetty didn’t get much attention the past couple of days but I’ve cracked the code, I wouldn’t say I fully understand the whole thing and I’m not quite up to the multi pass shaders but I’ve got the basic building blocks down, so I’m happy, seeing shaders are going to be a necessary part of graphics from here on in.

To prove that I can do it here’s at updated version of XNA Invaders complete with CGA raster looking shader that I made up, I’m going to comment the code soon to make it more readable for those interested, here’s the updated exe for now.

Thanks to Chub from the YakYak forum for putting me on to the Ati documentation and RenderMonkey, I’d started with the Nvidia and it was crap.

Off on a 4×4 weekend with the boys this arvo, will be a great break from the keyboard, a solid campaign of piss drinking should be able to slow the old brain box from it’s red line rate at the moment.


  1. That’s crashing on my machine. The old one ran ok. What has changed?

    Comment by mabster — September 8, 2006 @ 1:03 pm

  2. Nice work d00d. I wanna get on to this band wagon pretty quick before I get left behind. The only hurdle I need to pass is to get a level 60 paladin in World of Warcraft. I dont know why I am so addicted to it. Anyway soon I think I will have to cut my losses and start with XNA shortly.

    The compiled exe doesnt do anything for me. It like to try and find a debugger but thats about it unfortunately. I am pretty keen to see the new version.

    Comment by Euan — September 8, 2006 @ 1:49 pm

  3. Strange – it works at home. Perhaps it’s just the low-end video card in my work machine that’s stopping it from running. Who knows???

    Comment by mabster — September 9, 2006 @ 10:33 am

  4. Yeah it’s compiled for pixel shader 2.0, maybe that integrated intel can’t handle it. That’s the biggest problem with XNA.

    Comment by Poo — September 12, 2006 @ 10:39 am

  5. Pfft – if all you’ve got is a low-end Dell laptop then you don’t deserve to play games from BrownBot anyway. You oughtta introduce shaders into Dispell just to eliminate the possibility of plebs like me playing it.

    Comment by mabster — September 14, 2006 @ 9:54 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress