|
|
I have a sphere that I want to apply a 2D texture to, using UV mapping. But I
want to distort the UV coordinates such that the texture looks like it's pushed
away from a hole that I'm CSG-subtracting from the sphere. Basically, given
some (u,v) that povray generates when a ray intersects with the sphere, is it
possible to "post-process" the coordinates with some functions f, g, so that the
texture is looked up at coordinates (f(u), g(v)) instead of (u,v)?
Is it possible to do this, or do I have to somehow distort the texture itself?
Post a reply to this message
|
|