return;
}
CommandBuffer cmd = new CommandBuffer();
cmd.name = "Skybox";
Material mat = RenderSettings.skybox;
if (mat == null)
bool looksLikeSixSidedShader = true;
looksLikeSixSidedShader &= (mat.passCount == 6); // should have six passes