[Bf-committers] Material system - function to get the value of a material?

Ben Batt benbatt at gmail.com
Wed Aug 9 12:57:25 CEST 2006


Hi,
The Displace modifier I'm adding as part of Google SoC takes a
material as the displacement input. Is there a function which I can
call to get the value of a material at a given coordinate? I've had a
look through the code, but what I've found so far is fairly heavily
tied to the render system.

Currently I'm using externtex() and looping through the material's
textures manually, which is not ideal.

Thanks,
Ben (artificer)


More information about the Bf-committers mailing list