More progress on shader implementation.

Changed engine OpenGL version to 4.1.

Added OpenGL program pipeline handles.

Added fragment shaders.

Some class name changes.
This commit is contained in:
2020-05-28 23:22:44 -05:00
parent d269760c80
commit 51cfc84cc7
14 changed files with 964 additions and 836 deletions

View File

@@ -1,5 +1,6 @@
using System;
using SlatedGameToolkit.Framework;
using SlatedGameToolkit.Framework.Graphics.OpenGL.Programs;
using SlatedGameToolkit.Framework.Graphics.Window;
using SlatedGameToolkit.Framework.StateSystem;
using SlatedGameToolkit.Framework.StateSystem.States;
@@ -9,6 +10,7 @@ namespace SlatedGameToolkit.Tools.Utilities.GraphicalPlayground
public class MainState : IState
{
private WindowContext window;
private GLShaderProgram shader;
public WindowContext CurrentWindow { get { return window;}}