TDME2  1.9.200
LightingShaderConstants.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <tdme/tdme.h>
5 
6 /**
7  * Lighting shader constants
8  * @author Andreas Drewke
9  */
11 {
12  static constexpr int32_t SPECULAR_TEXTUREUNIT_DIFFUSE { 0 };
13  static constexpr int32_t SPECULAR_TEXTUREUNIT_SPECULAR { 1 };
14  static constexpr int32_t SPECULAR_TEXTUREUNIT_NORMAL { 2 };
15  static constexpr int32_t SPECULAR_TEXTUREUNIT_ENVIRONMENT { 3 };
16  static constexpr int32_t SPECULAR_TEXTUREUNIT_TERRAIN_GRAS { 4 };
17  static constexpr int32_t SPECULAR_TEXTUREUNIT_TERRAIN_DIRT { 5 };
18  static constexpr int32_t SPECULAR_TEXTUREUNIT_TERRAIN_STONE { 6 };
19  static constexpr int32_t SPECULAR_TEXTUREUNIT_TERRAIN_SNOW { 7 };
20  static constexpr int32_t SPECULAR_TEXTUREUNIT_TERRAIN_BRUSH { 8 };
21 
22  static constexpr int32_t PBR_TEXTUREUNIT_BASECOLOR { 0 };
23  static constexpr int32_t PBR_TEXTUREUNIT_METALLICROUGHNESS { 1 };
24  static constexpr int32_t PBR_TEXTUREUNIT_NORMAL { 2 };
25  static constexpr int32_t PBR_TEXTUREUNIT_EMISSIVE { 3 };
26  static constexpr int32_t PBR_TEXTUREUNIT_ENVIRONMENT_DIFFUSE { 4 };
27  static constexpr int32_t PBR_TEXTUREUNIT_ENVIRONMENT_SPECULAR { 5 };
28  static constexpr int32_t PBR_TEXTUREUNIT_ENVIRONMENT_BRDF { 6 };
29 
30 };