smrendererv3/SMCode/SM.Base/Drawing/Material.cs
Michel Fedde 820d6ce700 04.10.2020
+ render pipeline system for more control about the renderering.
+ Log system
+ Framebuffer system

~ Default shader was moved to pipelines.
2020-10-04 16:31:48 +02:00

25 lines
No EOL
583 B
C#

using OpenTK.Graphics;
using SM.OGL.Texture;
namespace SM.Base.Scene
{
/// <summary>
/// Represents a material.
/// </summary>
public class Material
{
/// <summary>
/// The base texture. (aka. Diffuse Texture)
/// </summary>
public TextureBase Texture;
/// <summary>
/// The tint or color.
/// </summary>
public Color4 Tint = Color4.White;
/// <summary>
/// A custom shader, that is used to draw this material.
/// </summary>
public IShader CustomShader;
}
}