PDA

View Full Version : UVmap in procedural textures



Abicius
01-11-2005, 03:18 PM
Hi to everybody.

I'm trying to write a plugin to add a procedural texture (class LWTEXTURE_HCLASS), and I have a problem: I'd like to use UV coords inside the texture evaluation function, but I can't find a way to have UV coords interpolated in the point for which evaluation function is called.
It's possible to access UV maps at near vertexes, but I'd like to have them already interpolated.

Anybody knows if is it possible, and how to achieve it?

Thanks in advance,

Bye