Advertisement
DarkShadow44

Untitled

Jul 30th, 2024
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. Mesa: info: GLSL source for fragment shader 210:
  2. Mesa: info: uniform mat4 CC_PMatrix;
  3. uniform mat4 CC_MultiViewPMatrix[4];
  4. uniform mat4 CC_MVMatrix;
  5. uniform mat4 CC_MVPMatrix;
  6. uniform mat4 CC_MultiViewMVPMatrix[4];
  7. uniform mat3 CC_NormalMatrix;
  8. uniform vec4 CC_Time;
  9. uniform vec4 CC_SinTime;
  10. uniform vec4 CC_CosTime;
  11. uniform vec4 CC_Random01;
  12. uniform sampler2D CC_Texture0;
  13. uniform sampler2D CC_Texture1;
  14. uniform sampler2D CC_Texture2;
  15. uniform sampler2D CC_Texture3;
  16. //CC INCLUDES END
  17.  
  18.  
  19. #ifdef GL_ES
  20. precision lowp float;
  21. #endif
  22.  
  23. varying vec4 v_fragmentColor;
  24. varying vec2 v_texCoord;
  25. uniform sampler2D u_texture;
  26. uniform float Intensity;
  27.  
  28. void main()
  29. {
  30. vec4 texColor = texture2D(CC_Texture0, v_texCoord);
  31. if ( texColor.a <= 0.0 )
  32. discard;
  33. texColor *= (1 - Intensity);
  34. gl_FragColor = texColor * v_fragmentColor;
  35. }
  36.  
  37. Mesa: info: Info Log:
  38. 0:32(15): error: could not implicitly convert operands to arithmetic operator
  39.  
  40. Mesa: info: GLSL source for fragment shader 213:
  41. Mesa: info: uniform mat4 CC_PMatrix;
  42. uniform mat4 CC_MultiViewPMatrix[4];
  43. uniform mat4 CC_MVMatrix;
  44. uniform mat4 CC_MVPMatrix;
  45. uniform mat4 CC_MultiViewMVPMatrix[4];
  46. uniform mat3 CC_NormalMatrix;
  47. uniform vec4 CC_Time;
  48. uniform vec4 CC_SinTime;
  49. uniform vec4 CC_CosTime;
  50. uniform vec4 CC_Random01;
  51. uniform sampler2D CC_Texture0;
  52. uniform sampler2D CC_Texture1;
  53. uniform sampler2D CC_Texture2;
  54. uniform sampler2D CC_Texture3;
  55. //CC INCLUDES END
  56.  
  57.  
  58. #ifdef GL_ES
  59. precision lowp float;
  60. #endif
  61.  
  62. varying vec4 v_fragmentColor;
  63. varying vec2 v_texCoord;
  64. uniform sampler2D u_texture;
  65. uniform float Intensity;
  66.  
  67. void main()
  68. {
  69. vec4 texColor = texture2D(CC_Texture0, v_texCoord);
  70. if ( texColor.a <= 0.0 )
  71. discard;
  72. texColor *= (1 - Intensity);
  73. gl_FragColor = texColor * v_fragmentColor;
  74. }
  75.  
  76. Mesa: info: Info Log:
  77. 0:32(15): error: could not implicitly convert operands to arithmetic operator
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement