Another bug >>>

MATERIAL mat = new MATERIAL();
mat.ambient_red.IntValue = 64; [Results in memory exception!]

Also MATERIAL.effect causing a marshalling exception. Other properties of MATERIAL may cause similar exception, i havent tested them all.

Last edited by DJBMASTER; 08/05/09 01:21.