View Single Post
  #8  
Old 09-06-2006, 08:03 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Error compiling ... ?

Hi,

I tried this just now and I get this error everytime I run it. The Blending looks okay though. I'll play around with it more. I have CG toolkit 1.4.1 installed.

-----------------------------------
FRAGMENT glCompileShader "" FAILED
FRAGMENT Shader "" infolog:
ERROR: 0:6: 'texture2D' : no matching overloaded function found
ERROR: 0:6: '=' : cannot convert from 'const float' to '4-component vector of float'
ERROR: 0:7: 'texture2D' : no matching overloaded function found
ERROR: 0:7: 'assign' : cannot convert from 'float' to 'FragColor 4-component vector of float'
ERROR: 4 compilation errors. No code generated.
glLinkProgram "" FAILED
Program "" infolog:
Link failed. All shader objects have not been successfully compiled.

-------------------------
Reply With Quote