Material.hpp 476 Bytes
Newer Older
Dario Seyb's avatar
Dario Seyb committed
1 2 3 4
#pragma once

#include <ACGL/ACGL.hh>
#include <ACGL/OpenGL/Objects.hh>
Dario Seyb's avatar
Dario Seyb committed
5
#include <engine/graphics/RenderQueue.hpp>
Dario Seyb's avatar
Dario Seyb committed
6 7 8 9

using namespace ACGL::OpenGL;

struct Material {
Dario Seyb's avatar
Dario Seyb committed
10
  glm::vec4 tintColor;
Dario Seyb's avatar
Dario Seyb committed
11
  glm::vec4 emissiveColor;
Dario Seyb's avatar
Dario Seyb committed
12 13 14
  ConstSharedTextureBase mainTexture;
  ConstSharedTextureBase normalTexture;
  ConstSharedTextureBase specularSmoothnessTexture;
15
  ConstSharedTextureBase emissiveTexture;
Dario Seyb's avatar
Dario Seyb committed
16
  SharedShaderProgram prog;
Dario Seyb's avatar
broken  
Dario Seyb committed
17
  bool castShadow;
Dario Seyb's avatar
Dario Seyb committed
18
  RenderQueue queue;
Dario Seyb's avatar
Dario Seyb committed
19
  GLenum cullSide;
Dario Seyb's avatar
Dario Seyb committed
20
};