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