Fix #33351: cycles OSL not loading grayscale images as RGB correctly.

This commit is contained in:
Brecht Van Lommel 2012-11-30 06:10:25 +00:00
parent e7f594b0df
commit 1246ef714e

@ -138,6 +138,7 @@ void OSLShaderManager::texture_system_init()
ts = TextureSystem::create(true);
ts->attribute("automip", 1);
ts->attribute("autotile", 64);
ts->attribute("gray_to_rgb", 1);
/* effectively unlimited for now, until we support proper mipmap lookups */
ts->attribute("max_memory_MB", 16384);