Chaos Corona Forum

General Category => Porting and API => [Archive] Chaos Corona for Maya => Topic started by: CGMe on 2015-08-03, 14:51:37

Title: CoronaLayered with file texture in opacity map
Post by: CGMe on 2015-08-03, 14:51:37
I've got this scene with a few CoronaLayered materials set up like this:

[BASE MATERIAL] CoronaSurface1
[LAYER1 MATERIAL] CoronaSurface2
[LAYER1 OPACITY] File Texture

When I reopen the scene and hit render, it seems like the opacity map is being ignored and the CoronaLayered is only showing it's base material. When I reassign the CoronaLayered it works again as intended. Only noticed in Maya 2015, I will try to recreate the issue in Maya 2016 later today.
Title: Re: CoronaLayered with file texture in opacity map
Post by: haggi on 2015-08-03, 15:03:06
The corona layered material is not supported correctly at the moment. You will always get an incorrect result. The setup to make it work correctly is quite complicated with the current implementation so and Ondra said there are plans to modify the way CoronaLayered material works so I decided not to invest too much time in an correct implementation and I'd recommend not to use it right now.
Title: Re: CoronaLayered with file texture in opacity map
Post by: CGMe on 2015-08-03, 15:19:53
Ok, thanks for the fast and clear feedback. For now I think I'll write a little script that loops through all CoronaLayered materials and reassigns them either on opening or when the render starts. This should be good enough for me at the moment.