Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: x0ras

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    3,693

    Re: GLSL and RenderMonkey

    Sorry. I did a mistake. I'm using float. :)
  2. Replies
    8
    Views
    3,693

    Re: GLSL and RenderMonkey

    drivers: 61.77
    video: GeForce FX 5200
    more of the code:

    uniform vec4 cam_pos;

    varying vec4 vertex;
    varying vec3 normal;

    void main(void)
  3. Replies
    8
    Views
    3,693

    GLSL and RenderMonkey

    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?
Results 1 to 3 of 3