public override void Visit(MaterialNode node) { node.BeginRender(); this.shader.SetUniform(this.shader.GetUniformLocation("diffuseMap"), 0); node.VisitChildren(this); node.EndRender(); }
public virtual void Visit(MaterialNode node) { this.Visit((SceneNode)node); }