Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct MaterialStruct {
- int ambientTexutre;
- int diffuseTexture;
- int specularTexture;
- int bumpTexture;
- vec4 ambientColor;
- vec4 diffuseColor;
- vec4 specularColor;
- float specularComponent;
- float alpha;
- int illuminationModel;
- };
- layout (std140) uniform MaterialsBlock {
- MaterialStruct materials[8];
- } u_materials;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement