Help - CMOD seems to only use first material
Posted: 24.03.2020, 16:27
I'm working on nebulae using CMOD models with sprites. Now I thought that you could just define a bunch of materials at the top, and the nth mesh would use the nth material defined. But that doesn't seem to be the case.
Attached below is a sprite model of Abell 6. In it, I have two materials defined, the first with an opacity of 0.10, the second with an opacity of 0.03. The first mesh (with 882 vertices) is the outer shell, and the second mesh (with 176 vertices) is for the inner gas.
When I change the second material's opacity from 0.03 to say, 0.15, then nothing changes. Moreover, when I change the first material's opacity from 0.10 to 0.0 (i.e. totally transparent), then all the sprites become fully transparent—the model becomes invisible.
What's going on here? How can I have meshes made from materials other than the first material? I'd like to be able to use different opacities for different point sprites.
Thanks in advance,
LukeCEL
Attached below is a sprite model of Abell 6. In it, I have two materials defined, the first with an opacity of 0.10, the second with an opacity of 0.03. The first mesh (with 882 vertices) is the outer shell, and the second mesh (with 176 vertices) is for the inner gas.
When I change the second material's opacity from 0.03 to say, 0.15, then nothing changes. Moreover, when I change the first material's opacity from 0.10 to 0.0 (i.e. totally transparent), then all the sprites become fully transparent—the model becomes invisible.
What's going on here? How can I have meshes made from materials other than the first material? I'd like to be able to use different opacities for different point sprites.
Thanks in advance,
LukeCEL