generateEnvMapModeDefine method
Implementation
String generateEnvMapModeDefine(parameters) {
String envMapModeDefine = 'ENVMAP_MODE_REFLECTION';
if (parameters.envMap) {
switch (parameters.envMapMode) {
case CubeRefractionMapping:
envMapModeDefine = 'ENVMAP_MODE_REFRACTION';
break;
}
}
return envMapModeDefine;
}