Sorry. I did a mistake. I'm using float. :)
Type: Posts; User: x0ras
Sorry. I did a mistake. I'm using float. :)
drivers: 61.77
video: GeForce FX 5200
more of the code:
uniform vec4 cam_pos;
varying vec4 vertex;
varying vec3 normal;
void main(void)
RenderMonkey (1.5) can't compile my shaders.
float res = dot(n,v);n,v - vec3. At this line I get an error: assignment of incompatible types. What's wrong?