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