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