Can anyone provide guidance on how to specify transparent materials in JSON Model format 3.1? I attempted the following JSON code, but it did not work as expected:
{
"metadata": {
"formatVersion" : 3
},
"materials": [{
"DbgColor" : 15658734,
"DbgIndex" : 0,
"DbgName" : "dummy",
"illumination" : 2,
"opticalDensity" : 0.5,
"transparency" : 0.5,
"colorAmbient" : [ 0.9, 0.1, 0.1 ],
"colorDiffuse" : [ 0.1, 0.7, 0.1 ]
}],
"vertices": [0,0,0, 100,0,0, 100,100,0, 0,100,0 ],
"normals": [],
"colors": [1,0,0, 0,1,0 ],
"uvs": [],
"faces": [67, 0,1,2,3,0, 1]
}
I have experimented with different values for illumination, optical density, and transparency without success.
Appreciate any help! - Jan