Well to be honest, it's pretty simple stuff, bit embarrassed to post the code as my solution is just a very simple brute force one. I will post it up with a load of caveats explaining it was done in a few hours and was intended to be a proof of concept rather than a fully working sample..
The XNA-UK site seems to be in a bit of bother at the moment, so wont be posting for a while...
I have put the shader up on my blog with a simple description on how to implement it..
NemoKradXNA 1 year ago
Bring on the code :-)
I'll be able to make reference to it from my tut, when it gets to time more advanced bits, I think shadows would look great in a top down shooter.
FromTheDarks1de 1 year ago
I'd love to know how that is done :) Good job!
duckocide 1 year ago
@duckocide & @FromTheDarkside
Well to be honest, it's pretty simple stuff, bit embarrassed to post the code as my solution is just a very simple brute force one. I will post it up with a load of caveats explaining it was done in a few hours and was intended to be a proof of concept rather than a fully working sample..
The XNA-UK site seems to be in a bit of bother at the moment, so wont be posting for a while...
NemoKradXNA 1 year ago
A really nice simple solution for image based 2d shadowing, and well done on getting the result in a few hours
lintfordpickle 1 year ago
@lintfordpickle Thanks mate, it was you that pointed me in the direction though lol..
May have a go at that deferred method like we discussed, when ?i have time
NemoKradXNA 1 year ago
Definitely make it into a sgtconker tutorial :D
RoyTriesscheijn 1 year ago
@RoyTriesscheijn The approach is so simplistic I am not sure it could be called a tutorial lol
NemoKradXNA 1 year ago