Search:

Type: Posts; User: jgrarod

Search: Search took 0.00 seconds.

  1. Enabling / Disabling antialiasing for color Picking

    It is possible to disable and enable antialiasing when ever you want or only at the creation of the context, as indicated hereafter:

    gl = canvas.getContext("experimental-webgl",{antialias:false});...
  2. Replies
    11
    Views
    10,444

    Re: gl_PointSize problem

    Hi Coolcat,

    You are completely right. I have check http://www.khronos.org/registry/gles/api/2.0/gl2.h and there is no reference to GL_VERTEX_PROGRAM_POINT_SIZE or GL_POINT_SPRITE.

    The one I use...
  3. Replies
    11
    Views
    10,444

    Re: gl_PointSize problem

    Thank you for your response, you have given me really helpful advice.
    My card is NVidia Geforce 9400. I have tried your solution:
    gl.enable(gl.POINT_SPRITE);
    ...
  4. Replies
    11
    Views
    10,444

    gl_PointSize problem

    I have been trying to write some code to draw lines and points with different sizes.

    I have tried this in the vertex shader:
    //Vertex shader
    void main()
    {
    gl_Position = ...;
    gl_PointSize =...
Results 1 to 4 of 5