This is my second dabble in HLSL and this time it was just for personal reasons. I wanted to create a shadow effect for a 2D game that we are developing for our group project. Its actually very hard to find any resources on the internet about this but i did stumble accross one resource (which i have now lost the link to) where someone has created a basic shadow effect purely in shaders.
So i decided to have a go and this was the outcome. In the end however its too slow to be used in the game but serves as a usfull learning tool when the hardware catches up.
To view this you will need to download RenderMonkey.
Download: ShadowShader.zip
3 Responses to ShadowShader in RenderMonkey
Dominique March 29, 2007
Wow I really wanted to use a 2D Shadow effect in my game. How slow is it?
mikecann August 30, 2010
Only 3 years late on this reply, but its very slow. You should check out the recent work by Catalin on the subject: http://mikecann.co.uk/programming/shader-based-2d…