MaterialFragmentVariables.glsl 459 B

1234567891011121314151617181920212223242526
  1. /// @name Uniforms
  2. /// @{
  3. #if defined(PASS_COLOR)
  4. uniform float blurring;
  5. #endif
  6. /// @}
  7. /// @name Varyings
  8. /// @{
  9. in vec2 vTexCoords;
  10. #if defined(PASS_COLOR)
  11. in vec3 vNormal;
  12. in vec3 vTangent;
  13. in float vTangentW;
  14. in vec3 vVertPosViewSpace;
  15. #endif
  16. /// @}
  17. /// @name Fragment out
  18. /// @{
  19. #if defined(PASS_COLOR)
  20. layout(location = 0) out vec3 fMsNormalFai;
  21. layout(location = 1) out vec3 fMsDiffuseFai;
  22. layout(location = 2) out vec4 fMsSpecularFai;
  23. #endif
  24. /// @}