Wednesday 16 July 2008

Dissertation Shaders

Ok I found out what went wrong yesterday.
First of all the circle radius is so big that it encompasses the complete model so we won't see a nice circle, that has no been fixed.
Second was that the origin most likely was passed wrong which is now fixed as well. To do here is to get the actual collision point to be circle origin but that isn't a big problem.
The actual thing now looks something like this:

It's input is still all slider based but at least the shader works as I had expected it to work. And the color passing is a bit off but that is an error in bit shifting I think I made.

No comments: