noiceFragment.fs 307 B

12345678910111213
  1. #version 430
  2. in vec3 varPosition;
  3. out float noice;
  4. void main(void) {
  5. //float sinX = sin(varPosition.x * 5.8905);
  6. //float cosY = cos(varPosition.y * 5.8905);
  7. //float cosZ = cos(varPosition.z * 5.8905);
  8. //noice = (sinX * sinX + cosY * cosY + cosZ * cosZ) * (1.0f / 3.0f);
  9. noice = 1.0;
  10. }