View Full Version : Delete Normal Map

12-13-2011, 05:00 AM
How do i delete a normal map in lscript ?
Does somebody have a code sample or a hint in which .ls to look for one ?

12-13-2011, 06:31 AM
By setting all point values to nil. The procedure is the same using the SDK.

Ie create a vmap OA for the normal map you want to delete and iterate through all (assigned) points setting the vmap value to nil.

The lscript manual (the 2 pdfs) has an example of how to iterate and set a non-nil value. That should be enough as an example.


12-13-2011, 06:52 AM
Thanks .. i thought that there would be a more elegant way to do this .. but who cares, if it works ..