I see what you're talking about now. I think it's because the offset command itself has that limitation.
Huh, I didn't realize that. Bummer. Well, I guess I should rename the thread to "Dropshadow with angle change" ... hehe
Well I was only able to use the existing offset commands, I don't know what restrictions are there. I'm looking at it right now however.
To make sure I understand you, is it always 32 pixels? I ask because from trying it out myself it seemed to work right with the exception of the shrinking.
Well, it shrinks the shadow the higher the number. If you go too high, it's probably 1 pixel or not there at all.
I'll see if I can stop that. However, I think a height modifier would need to be added.
Develop games in your browser. Powerful, performant & highly capable.
I edited the dropshadow shader to add the offset commands, so now you can set the angle of the shadow. And with lesser success, distance.
I don't know if anyone will find the small addition useful but I thought I would post it
Great progress! The first real release should be great. I hope people will really flock to it.
<img src="http://www.ohgizmo.com/wp-content/uploads/2008/04/keyboard-pants.jpg"> one step closer
<img src="http://www.ohgizmo.com/wp-content/uploads/2008/04/keyboard-pants.jpg">
one step closer
I see the space bar sits in a convenient position. Might make those button masher games more intense ...
Oh and hi! Maybe I should have chosen a different thread for a first post