Last active
December 10, 2015 20:08
-
-
Save timrwood/4485790 to your computer and use it in GitHub Desktop.
Shader enums
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum Ambient | |
Uniform | |
Vertex | |
Texture | |
enum Diffuse | |
None | |
Uniform | |
enum Normals | |
Vertex | |
TextureMap | |
enum Specular | |
None | |
Uniform | |
Texture | |
TextureAlpha | |
enum Reflection | |
None | |
Texture |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// used for diffuse, normal, and specular map | |
string textureName | |
string reflectionTextureName | |
vec4 ambientColor | |
vec4 diffuseColor | |
float diffuseIntensity | |
vec4 specularColor | |
float specularIntensity | |
float reflectionIntensity | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment