~ Changed Pipelines

(Default2DPipeline: Has Lights, Post-ProcessingEffects, etc.)
(Basic2DPipeline: Simple Color and Texture stuff, thats it)
This commit is contained in:
Michel Fedde 2020-12-19 18:31:44 +01:00
parent 1ed03fec3f
commit 5d4b360b05
23 changed files with 243 additions and 59 deletions

View file

@ -1,5 +1,7 @@
using System.Collections.Generic;
using OpenTK;
using OpenTK.Graphics;
using SM.Base;
using SM.Base.Types;
using SM.OGL.Shaders;
@ -7,6 +9,7 @@ namespace SM2D.Light
{
public abstract class LightObject
{
private Vector2 _posNorm => Vector2.Divide(Position, (SMRenderer.CurrentWindow as GLWindow2D).WorldScale);
internal abstract int Type { get; }
public CVector2 Position = new CVector2(0);