1) Запрашивать контекст вручную не надо.
2) Контейнер не добавлен на сцену.
3) Чтоб добавить тени, нужно указать какие источники света будет использоваться для расчета теней, какой метод будет использоваться для расчета теней.
Код AS3:
var lightPicker:StaticLightPicker = new StaticLightPicker([sunLight, skyLight]);
var filteredShadowMapMethod:FilteredShadowMapMethod = new FilteredShadowMapMethod(sunLight);
var material:TextureMaterial = new TextureMaterial(new BitmapTexture((new Texture01()).bitmapData), true, true, true);
material.lightPicker = lightPicker;
material.shadowMethod = filteredShadowMapMethod;
material.ambient = 0.5;