vex perculiarities (any one there?)

   2244   1   1
User Avatar
Member
16 posts
Joined: July 2005
Offline
im having some troubling results from a fairly simple vex shader that ive coded. is there anyone there who thinks they might be able to help?

ben


full explantation available on request
User Avatar
Member
16 posts
Joined: July 2005
Offline
im off to bed now, so i leave this for you over night.

im texturing with different imagefiles based on the z of P in worldspace.
To fill in the space between integer z values im trying to use lerp. It is fine(ish) but im getting spikes in the image where as we approach 1(or 0, i could be confused) it jumps back to the start image. This ill affect increases in size as the sampling rate on the object being shaded decreases.

i'll show you some code if you want. (or a picture or 2)
if this makes any sense to any one who has any answers or any ideas i'll listen.

ta

ben
  • Quick Links