Search:

Type: Posts; User: jaisins

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,485

    PixelArray to teximage2d

    Hi,

    I am using a Float32Array as input to teximaged2d. Basically using this signature-


    void texImage2D(GLenum target, GLint level, GLenum internalformat,
    GLsizei width,...
  2. Re: Shader compiles and attaches to program, but does not li

    I figured out the problem.
    Just wanted to point out to others, that I used WebGL Inspector to debug and find what was wrong with my shader program.
  3. Re: Shader compiles and attaches to program, but does not li

    Here's the shader itself. Am I hitting some limits for in/out to shaders?

    #ifdef GL_ES
    precision highp float;
    #endif

    const float EV_CONSTANT=3.0;
    const float MIDDLE_GRAY=0.18;
    const vec3...
  4. Shader compiles and attaches to program, but does not link

    Hi,

    I have a shader that compiles and also attaches to the shader program, but it does not link.

    gl.attachShader(shaderProgram, fragmentShader);

    console.log("shaders attached: " +...
Results 1 to 4 of 5