The shader code would LIKELY be recognisable enough to 'tweak' as your needs
change. Once someone else has dont he conceptual groundwork for you...

I would advise against making the CONTACT a global, ut you couls always pass
a pointer to a local one as a parameter to the get-height function.
Just do one call at the same time as your bmap_lock, and pass the contact
pointer to all the get_heights, should save a serious amount of horsepower,
without any 'radical' code changes...

Can you post the relevent code you are using with the 'global' version?


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial