Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version 420 core
- struct material
- {
- vec4 emissive;
- };
- // Incoming vertex position
- layout(location = 0) in vec4 vertex_pos;
- uniform material mat;
- out vec4 outputF;
- void main(void)
- {
- outputF = mat.emissive;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement