Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const int POINTLIGHT_MAX_NUM = 4;
- struct PointLight
- {
- vec3 position;
- vec3 color;
- };
- uniform PointLight pointlights[POINTLIGHT_MAX_NUM];
- struct Material
- {
- sampler2D albedoMap;
- sampler2D normalMap;
- sampler2D metallicMap;
- sampler2D roughnessMap;
- sampler2D aoMap;
- sampler2D emissionMap;
- };
- uniform Material material;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement