+1 for even attempting this stuff! ;-))
Your code is erroring at line 265 for me.
I don't know dukie about 3D but did example 4 in Wiki about _MapTriangle offer any clues?
For shading, could you overlay the box with alpha faces assuming you want the sides at different shades.
Your code is erroring at line 265 for me.
I don't know dukie about 3D but did example 4 in Wiki about _MapTriangle offer any clues?
For shading, could you overlay the box with alpha faces assuming you want the sides at different shades.
b = b + ...