Layered materials in C++ - with opacity

could you show your material graph?