If cone.transparent is set on, alpha=10 in test_mtl will be overriden by cone.alpha which the default is 50. So that the alpha=10 in test_mtl is now useless.
The purpose of this post is to see how cone.material works, not how to change the opacity.
Thanks
Re: how to use entity.material to set alpha?
[Re: Majelang]
#72339 04/28/0608:0604/28/0608:06
Akaik it won´t be overwritten, because you set "transparent = on" before you set the material. So the alpha value in the material will overwrite the default value of 50.
no science involved
Re: how to use entity.material to set alpha?
[Re: fogman]
#72340 04/28/0619:4904/28/0619:49
I found the engine ran in A5 mode which the material didn't work at all. I have to include d3d_transform=on to switch to A6 mode manually to get the material works. Thanks for your time.