public void SetShader(string name) { shaderName = name; shader = ShaderManager.Find(name); }
public RayTransparent() { shader = ShaderManager.Find(shaderName); processed = new Dictionary <Collider, Infos>(); }