|
|
@@ -47,7 +47,7 @@ namespace Atomic
|
|
|
|
|
|
extern const char* wrapModeNames[];
|
|
|
|
|
|
-static const char* textureUnitNames[] =
|
|
|
+const char* textureUnitNames[] =
|
|
|
{
|
|
|
"diffuse",
|
|
|
"normal",
|
|
|
@@ -770,6 +770,11 @@ Variant Material::ParseShaderParameterValue(const String& value)
|
|
|
return ToVectorVariant(valueTrimmed);
|
|
|
}
|
|
|
|
|
|
+const char** Material::GetTextureUnitNames()
|
|
|
+{
|
|
|
+ return textureUnitNames;
|
|
|
+}
|
|
|
+
|
|
|
void Material::CheckOcclusion()
|
|
|
{
|
|
|
// Determine occlusion by checking the base pass of each technique
|