I'm trying to find some answers about Define Material in Master GDL Script.
I want to have a Master GDL Script that will add materials to the library when loaded with the models in the container, the user will not have to do anything but load the library to the project. I've found some information about defining the materials by my own by coding it but there must be a more easy way to do it!?
What i'm looking for is a way to export my material to a code that i can add in my Master script as a code line.
Example of the code
DEFINE TEXTURE "Texture104" "hag_space", 0.07, 0.07, 513, 90
DEFINE MATERIAL "HAG Space" 20,
0.858824, 0.858824, 0.858824,
0.9, 0.88, 1, 0.5, 1.8, 0,
1, 1, 1,
0, 0, 0,
0, 0, -1,
IND(TEXTURE, "Texture104")
// Johnzon