﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSharpGL;

namespace c03d00_ModelSpace
{
    partial class GroundNode
    {
        private const string vertexCode = @"
#version 150

in vec3 inPosition;
in vec3 inColor;

uniform mat4 mvpMatrix;

void main() {
    gl_Position = mvpMatrix * vec4(inPosition, 1.0); 
}
";

        private const string fragmentCode = @"
#version 150

uniform vec3 color = vec3(0.5, 0.5, 0.5);

out vec4 outColor;

void main() {
    outColor = vec4(color, 1.0);
}
";
    }
}
