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