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