SHARE
TWEET

Untitled

PhoenixMee Apr 11th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 330
  2.  
  3. // Textures
  4. uniform sampler2D texture3;
  5.  
  6. // Water
  7. uniform vec3 waterColor;
  8. uniform vec3 skyColor;
  9.  
  10. in vec4 color;
  11. in vec4 position;
  12. in vec3 normal;
  13. in vec2 texCoord0;
  14. in float reflFactor;
  15.  
  16. out vec4 outColor;
  17.  
  18.  
  19. void main(void)
  20. {
  21.     outColor = mix(vec4(waterColor, 0.6), vec4(skyColor, 1.0), reflFactor);
  22. }
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
 
Top