SHARE
TWEET

Untitled

a guest Apr 22nd, 2019 3 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 330 core
  2.  
  3. uniform vec3 lightPosition;
  4. uniform vec3 viewPosition;
  5. uniform vec3 lightColor;
  6. uniform vec3 objectColor;
  7. uniform sampler2D textureData;
  8.  
  9. in vec3 FragmentPosition;
  10. in vec3 Normal;
  11. in vec2 TextureCoordinates;
  12.  
  13. out vec4 fragColor;
  14.  
  15. void main() {
  16.     fragColor = texture(textureData, TextureCoordinates);
  17. //    gl_FragColor = vec4(1.0f, 0.0f, 0.0f, 1.0f);
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top